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

Forcing postback, RadAjaxManagerProxy

5 Answers 187 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
SUA
Top achievements
Rank 2
SUA asked on 31 Mar 2009, 12:13 PM

Hi
I have a project with the RadAjaxManger on the MasterPage and on the Default.aspx I have a button which is updated with the help of a RadAjaxManagerProxy. However, I want the page to do a full postback when I click on this button. How can I accomplish this
?

- Thorgeir

5 Answers, 1 is accepted

Sort by
0
Pavlina
Telerik team
answered on 03 Apr 2009, 12:31 PM
Hi Thorgeir,

I suggest that you use OnRequestStart client-side event handler to determine the AJAX initiator and disable AJAX for the current request.
For more information please refer to the following help topics:
Exclude controls from ajaxifying
RadAjax and MasterPage

I hope this helps.

All the best,
Pavlina
the Telerik team

Check out Telerik Trainer , the state of the art learning tool for Telerik products.
0
James
Top achievements
Rank 1
answered on 26 Mar 2010, 09:58 PM
Sorry to dig up and old topic but it should would be nice to have this as a feature in the ASPX markup of the ajax manager and proxy.
0
Pavlina
Telerik team
answered on 30 Mar 2010, 10:57 AM
Hello James,

Currently the possible options to exclude controls from ajaxifying are mentioned in the previous post. I am afraid that implementing the desired feature is not possible with RadAjaxManager/RadAjaxManagerProxy.

Greetings,
Pavlina
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Michael
Top achievements
Rank 1
answered on 17 Aug 2010, 02:09 PM

 

Unfortunately I cannot get the method in the referenced documentation to work.  I have a custom user control that has a radajaxmanager proxy in it.  I have inserted these two lines of code into the Page Load and then the Onit methods. 

The code compiles and runs but when I click the ok button there is no postback.

RadScriptManager
radScriptManager = (RadScriptManager)this.Page.Master.FindControl("ScriptManager1");

 

radScriptManager.RegisterPostBackControl(btnAcctPeriodOK);

What am I missing?

0
Pavlina
Telerik team
answered on 18 Aug 2010, 02:58 PM
Hello Michael,

To register the control as a trigger for postback in code-behind, I suggest that you use the code snippet below:
ScriptManager.GetCurrent(Page).RegisterPostBackControl(btnAcctPeriodOK);

I hope this helps.

Sincerely yours,
Pavlina
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
Ajax
Asked by
SUA
Top achievements
Rank 2
Answers by
Pavlina
Telerik team
James
Top achievements
Rank 1
Michael
Top achievements
Rank 1
Share this question
or