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

[Solved] AjaxRequest Event in Outlook demo to Master Page

3 Answers 124 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
Doug Odegaard
Top achievements
Rank 2
Doug Odegaard asked on 30 Nov 2007, 08:55 PM
I am trying to change the Outlook demo into a Master Page enabled solution and having problems with the AjaxRequest event and its wiring.  I have added the ScriptProxy and AjaxManagerProxy to the ASPX and altered the tags but am wondering about how to place the code traditionally in the AjaxManager_AjaxRequest event into the Master Page since the proxy does not have an Ajax Request event.  Please refer to the Outlook Prometheus project and let me know your thoughts on shifting this strategy.

Thanks in advance.
Doug

3 Answers, 1 is accepted

Sort by
0
Steve
Telerik team
answered on 01 Dec 2007, 12:34 PM
Hello Doug,

Indeed the RadAjaxManagerProxy does not implement an AjaxRequest event. You should either set declaratively the desired updated controls through its property builder, or use the FindControl() method to locate the controls in the Page_Load eventhandler of the MasterPage and add them to the main AjaxManager's AjaxSettings.

Regards,
Steve
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Doug Odegaard
Top achievements
Rank 2
answered on 04 Dec 2007, 06:53 PM
Thanks Steve.  So looking at the Outlook demo can you see a way to have the email body pane at the bottom showing the message text to have it's supporting code placed in the Master Page?  Or does it make more sense to ditch the master page all together for heavier interactions like this and simply have the page stand on its own along with an Ajax Manager and events having its own world rather than shared with others. 
0
Steve
Telerik team
answered on 05 Dec 2007, 09:26 AM
Hi Doug,

I would definitely go for the second option, although the first one should be achievable with some more coding and some tricks.

Greetings,
Steve
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Ajax
Asked by
Doug Odegaard
Top achievements
Rank 2
Answers by
Steve
Telerik team
Doug Odegaard
Top achievements
Rank 2
Share this question
or