AJAX


JQuery provides a superb way of easily finding and manipulating elements.  But, if you don’t watch yourself, it can quickly become  quite dangerous and easily be broken.  For intance, imagine this file structure, with some example elements listed as its children. Page UC 1 – div class=”Target1″ UC2 – div class=”Target2″ and so on.  If […]

Anyone who develops on the web these days develops with JavaScript.  As applications become richer in capability, they need to rely on the functionality JavaScript has to offer, or seek another solution like Silverlight or WPF.  As ASP.NET web forms or MVC applications grow in size, functionality gets separated into separate classes, pages (views), user […]

The new ClientIDMode property is a new .NET 4.0 features that allows a developer to take control over the ClientID property.  In .NET 3.5 and earlier, the ClientID property renders in the ID HTML attribute for all controls.  The system generated ID would be very long, may be looking something like ct100_ct100_BOdyPlaceholder_Ctl for a control […]

The issue with the UpdatePanel control is that it’s not possible to invoke an AJAX request from client-side JavaScript.  Though possible to refresh the UI from client-side JavaScript using various means, the UpdatePanel control itself doesn’t invoke a postback explicitly through some API call; instead, it reacts to form posts through specifically targeted controls.  The […]

If you’ve built your own custom MS ASP.NET AJAX controls or extenders, you are familiar with the description process, where a control specifies the values that it wants to send at the creation of the client-side AJAX component (consider these values as default values).  ASP.NET AJAX gives you the ability to specify what you would […]