Sample Download: http://code.msdn.microsoft.com/ASPNETComboBoxSysApplicatio-4c7381d2
Today’s code sample illustrates the use of Sys.Application.add_load to add an handler to Sys.Application.load event. And the handler, usually scripted by users, can successfully access DOMs generated by AJAX control toolkit. Otherwise, by simply placing a <script> tag in the page, it may not find the DOMs and their attributes as expected.
This sample comes up because when some of the users use client side methods, such as getElementById() and getElementsByTagName() to access DOMs generated by AJAX control toolkit, they fail to get the attribute(s) of some specific DOMs. So, they can't script to add features at client side to meet their personal needs or project's requirement by ASP.net technology.
For detailed introduction of the sample, please read the documentation at http://code.msdn.microsoft.com/ASPNETComboBoxSysApplicatio-4c7381d2.
You can find more code samples that demonstrate the most typical programming scenarios by using Microsoft All-In-One Code Framework Sample Browser or Sample Browser Visual Studio extension. They give you the flexibility to search samples, download samples on demand, manage the downloaded samples in a centralized place, and automatically be notified about sample updates. If it is the first time that you hear about Microsoft All-In-One Code Framework, please watch the introduction video on Microsoft Showcase, or read the introduction on our homepage http://1code.codeplex.com/.