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

Detect Ajax early

1 Answer 14 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
Kevin
Top achievements
Rank 1
Kevin asked on 27 Aug 2012, 09:25 PM
I've got a RadGrid in an UpdatePanel and I'm using a ScriptManager.  What's the earliest point in the page life cycle that I can detect I'm in an Ajax call, for example when a user clicks the edit button in the RadGrid?  Specifically, can I detect that the user has clicked the edit button (or any other Ajax action) at PreInit?  If so, how?

Thanks,
Kevin

1 Answer, 1 is accepted

Sort by
0
Radoslav
Telerik team
answered on 30 Aug 2012, 07:15 AM
Hi Kevin,

Please check out the following articles which elaborate on the same matter:
http://forums.asp.net/p/1137853/1822541.aspx
http://www.asp.net-crawler.com/tips/AJAX/Determin-If-Page-Postback-Is-Caused-By-AJAX-Updatepanel.aspx

I hope this helps.

Kind regards,
Radoslav
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
Ajax
Asked by
Kevin
Top achievements
Rank 1
Answers by
Radoslav
Telerik team
Share this question
or