Thursday, April 24, 2014

ClientIDMode="Static" ...is the magic for making HTML side ids mirror ASP.NET side ids.

<asp:HiddenField runat="server" ID="Whatever" ClientIDMode="Static" />

...in this case the id tag that appears in HTML will have "Whatever" in it.

No comments:

Post a Comment