0
kicks
Creating ASP.NET Ajax Aware Server Controls
Lately, I have been having to deal with finding ASP.NET Ajax when creating server controls. It is actually quite simple to do, and I think that if you are going to be coding server controls for ASP.NET you should definately know how to do it. So in this post, we will go through embedding a javascript file into your assembly and then registering it to the page. Then I will show you how to find out if ASP.NET Ajax is loaded during the script registration and also how to find out if ASP.NET Ajax is loaded in the javascript file itself. Let's face it, you may not want your control to rely on ASP.NET Ajax, but you may want to consider reaping the benefits of it if it is loaded.