Override AddAttributesToRender to Add Attributes in Runtime
AddAttributesToRender adds HTML attributes and styles that need to be rendered to the specified HtmlTextWriterTag. This is very useful method for ASP.NET webcontrols developers.
protected override void AddAttributesToRender(HtmlTextWriter writer) { writer.AddStyleAttribute("overflow", "auto"); base.AddAttributesToRender(writer); }
Saturday, February 12, 2005 4:55 AM