Ajax with ASP.Net User Controls

The Project

I have this present project which is a migrate of a wizard from ColdFusion to ASP.Net. Sounds simple. Think again!

Well one of the major components is the AJAX calendar control. The calendar uses AJAX because, well I suppose because the original author didn’t put in the logic as the calendar was dependant upon the site and there were two calendars. I won’t get into the reasons behind that but that’s what was there.


First go at AJAX and ASP.Net

There are two way to do dynamic page update without a post-back in ASP.Net. There is the much vaunted UpdatePanel with all its overhead. No , it works just fine within your own application. Though make ultimate use it would require several UpdatePanels on a page to make a fantastic application. The other way is to use the AJAX calls within jQuery to either your own webservice or a 3rd party webservice. Certainly when building your own application the UpdatePanel is the way to go. But AJAX can still be used though you need to take care not to page refresh when using it. Its certainly a useful option when dealing with 3rd party webservices to display information. So how is this done?