New to Telerik UI for ASP.NET AJAX? Download free 30-day trial

Forcing a Postback

If you want to perform a single postback instead of an AJAX request, arguments.EnableAjax should be false .

In the code-behind:

if (!RadAjaxManager1.EnableAJAX)
         RadAjaxManager1.ClientEvents.OnRequestStart = "OnRequestStart";

 If Not RadAjaxManager1.EnableAJAX Then
        RadAjaxManager1.ClientEvents.OnRequestStart = "OnRequestStart"
End If

On the client:

function OnRequestStart(sender, args) {

This approach is useful only when you want to perform a single postback. If you want to disable AJAX because of unsupported browsers or old versions of supported ones, we suggest you to do this on the server:

RadAjaxManager1.EnableAJAX = Page.Request.Browser.SupportsXmlHttp;

RadAjaxManager1.EnableAJAX = Page.Request.Browser.SupportsXmlHttp

See Also

In this article