.net - how do i add a title attribute to a panel (div) in the c# code behind file? -
ASP.NET C #
How do I add a title attribute (div) to a panel? The file behind the code
add runat = "server" attribute to your div, then you can access This is like any other ASP.NET control.
Markup:
& lt; Div id = "myDiv" runat = "server" & gt; & Lt; / Div & gt;
Code-Back:
myDiv.Attributes ["title"] = "some title";
Comments
Post a Comment