How do I know if a request is an ajax request made by Infragistics control?

[Infragistics] Murtaza Abdeali / Thursday, April 09, 2009

One of the common scenarios page developers run into is to make sure only the code necessary to serve up a particular request is executed during a page cycle. When using the ASP.NET AJAX controls built on top of our Aikido framework, you can easily filter calls made by these controls within your code behind by checking the following flag. 

Infragistics.Web.UI.Framework.AppSettings.IsAjaxPostBack

This flag was added in 2009 Volume 1, so you have to be using the same volume or higher to be able to use it.