This is a migrated thread and some comments may be shown as answers.

Catch Ajax Postback

3 Answers 52 Views
Grid
This is a migrated thread and some comments may be shown as answers.
arijit
Top achievements
Rank 1
arijit asked on 08 Nov 2008, 12:30 PM
I am using one google like filtering for grid.
now when i am clicking on the column filters, it is taking a postback and page_load is firing.
How can i check whether the postback is AJAX or not ?

please help me, it is urjent

3 Answers, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 10 Nov 2008, 07:56 AM
Hello arijit,

Please check this article for more info:
http://msdn.microsoft.com/en-us/library/system.web.ui.scriptmanager.isinasyncpostback.aspx

All the best,
Vlad
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
arijit
Top achievements
Rank 1
answered on 22 Nov 2008, 12:49 PM
I am using it in a user control where i am not getting
ScriptManager.IsInAsyncPostBack

How can i check that ?
0
Vlad
Telerik team
answered on 24 Nov 2008, 08:13 AM
Hi arijit,

You can use GetCurrent() method to find the ScriptManager instance.

Kind regards,
Vlad
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Grid
Asked by
arijit
Top achievements
Rank 1
Answers by
Vlad
Telerik team
arijit
Top achievements
Rank 1
Share this question
or