Search Wiki:
Resource Page Description
RegClientControls is a server control that interacts with Microsoft ASP.NET AJAX to register WebControls to a client side JavaScript object.

You can use this to easily work with WebControls in an external JavaScript file without having to manually do any kind of tricks like this. <%=TextBox1.ClientID%>

To use this control, simply place it on your web page somewhere below the ScriptManager and set the ClientControls property to “All” and you’re done.
Although this is the easiest way to set this control up, it is not recommended.
You are better off leaving the ClientControls property set to “Marked” and pick and choose the controls you want to have registered to JavaScript.
In the download section is a complete example with comments about the specific settings.

For more information about this control, please see my blog post here:


Last edited Feb 20 2008 at 10:46 PM  by robolize, version 5
Page view tracker