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

[Solved] RadAjaxManagerProxy and IsAjaxRequest

1 Answer 171 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
EkoEvolution
Top achievements
Rank 1
EkoEvolution asked on 29 Sep 2007, 06:37 PM
When using a RadAjaxManagerProxy how do you determine that you are in a callback/postback so that you don't run certain code blocks.

I have put a single radajaxmanager and loading panel on my master page and created a base page class that references these controls and have overridden the onload event to grab those references so they are available to my content pages.

My codebehind is then looking at the reference to the radajaxmanager and its isajaxrequest property to determine if it is indeed a postback/callback.

Is this the correct way or is there something easier?

1 Answer, 1 is accepted

Sort by
0
Jason Maronge
Top achievements
Rank 1
answered on 29 Sep 2007, 10:46 PM
The IsAjaxRequest is indeed the correct property to look at.  All of the controls added to the ProxyManager actually get handled by the AjaxManager so you are OK.

Jason
Tags
Ajax
Asked by
EkoEvolution
Top achievements
Rank 1
Answers by
Jason Maronge
Top achievements
Rank 1
Share this question
or