New to Telerik UI for ASP.NET AJAXStart a 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:

C#
if (!RadAjaxPanel1.EnableAJAX)
	{
	     RadAjaxPanel1.ClientEvents.OnRequestStart = "OnRequestStart";
	}
	

On the client:

JavaScript
function OnRequestStart(sender, args) {
	args.set_enableAjax(false); 
}

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:

C#
	
RadAjaxPanel1.EnableAJAX = Page.Request.Browser.SupportsXmlHttp;
	

See Also

In this article
See Also
Not finding the help you need?
Contact Support