Posted on: 6/5/2014 10:14:36 AM | Views : 369

As I see, in ASP.NET some controls like:
<asp:Localize runat="server" ID="locSignUp" meta:resourcekey="locSignUpResource1" Text="Not Registered?" />
will be generated to plain text in HTML like:
"Not Registered?".
But I need HTML tag with id as:
<label for="LoginControl1_Login1_locSignUp" id="LoginControl1_Login1_locSignUp">Not Registered?</label>

This id will be used in some JavaScript methods. So how can I forge ASP.NET always generate HTML tag with id?

Thanks,
Nhan

Go to the complete details ...