Which utility function do I use to get the ID of both an aps.net textbox and WebEditText control from a usercontrol template for a WebGrid within a WebPanel?
Hello Robert,
I m not completely sure I understand the complete setup. Do you mean the client-side ID that needs to be used in the ASPX for javascript? If this is the case, then something along the lines of:
var clientID = "<%= TextBox1.ClientID %>";
will work for both asp:TextBox and WebTextEdit. If something else, then maybe you need to use the FindControl method to locate the textbox first and then inspect its ID property.
Thanks Rumen.