Development With A Dot

Blog on development in general, and specifically on .NET

Sponsors

News

My Friends

My Links

Permanent Posts

Portuguese Communities

Browse by Tags

All Tags » ASP.NET AJAX (RSS)
My All Time Favorite Posts
Since this blog started, back in 2008, I wrote a lot of posts. I’d say some are still up to date. I picked a few of them, those I’m more proud of, in no particular order. ASP.NET Web Forms: Using the ASP.NET Health Monitoring Provider to Secure Your Application...
Wrapping ASP.NET Client Callbacks
Client Callbacks are probably the less known (and I dare say, less loved) of all the AJAX options in ASP.NET, which also include the UpdatePanel , Page Methods and Web Services . The reason for that, I believe, is it’s relative complexity: Get a reference...
ASP.NET MVC Validation Complete
OK, so let’s talk about validation. Most people are probably familiar with the out of the box validation attributes that MVC knows about, from the System.ComponentModel.DataAnnotations namespace, such as EnumDataTypeAttribute , RequiredAttribute , StringLengthAttribute...
Remove View State from UpdatePanel Call
You may not be aware that view state (and control state) is included on each UpdatePanel call, even if the controls placed inside it have it disabled. As view state can get quite large, it may be useful to disable posting it during UpdatePanel calls,...
Detecting Authentication Expiration in ASP.NET
I recently had to solve a problem: when issuing an asynchronous call by using an UpdatePanel , if the user is no longer authenticated – due possibly to long inactivity – this situation is silently ignored. What happens is, when an unauthenticated user...
Calling WCF Web Services from JavaScript
This post was long due, so here it is. Prepare for a long post! Whenever you need to consume a WCF web service from a web page, you have (at least) three options: Have the ASP.NET ScriptManager generate a strongly-typed JavaScript proxy to the service...
Delay Loaded Content
Did you ever have the need to load heavy content just after the whole page is loaded? That is normally achieved with AJAX of some sort; I instead wrapped it in a custom server control, for convenience, which, of course, also uses AJAX anyway. It uses...
Two Clicks Required
Sometimes, when I have an UpdatePanel and multiple validators on a page, I have to click twice on a LinkButton , even if it has CausesValidation set to false. The control is outside the UpdatePanel, so I'm not sure what causes this. It is a frequent problem...
New Version of AJAX Control Toolkit Released
Release 30512. Get it from http://www.codeplex.com/AjaxControlToolkit . Three new controls added: HTMLEditor, ColorPicker and ComboBox. See the samples live at http://www.asp.net/ajax/AjaxControlToolkit/Samples/ .
Calling Web Service Methods Synchronously in ASP.NET AJAX
Update: I had forgot to send the code for the synchronous executor. Here it is, as an attachment. AJAX, standing for Asynchronous JavaScript and XML, is, well, asynchronous by default. Usually, that is exactly what we want, but there may be times when...
More Posts