Edit this page

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

Is this article helpful? No Yes
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article