Click here to Skip to main content
15,889,867 members

Response to: Acessing textbox in usercontrol

Latest Revision
If you are using asp.net 4 you can use
ASP.NET
<asp:Textbox ClientIdMode="Static">

Instead of your server side html tag.
Or obtain client id of this tag in aspx/ascx
HTML
var id="<%=txt.ClientID %>";
Posted 14-Nov-12 21:05pm by n.podbielski.