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

Master Pages

1 Answer 27 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Kim
Top achievements
Rank 1
Kim asked on 19 Dec 2012, 07:48 PM
I am really struggling here.

I have a master page with a Radajaxmanager. On my child form I pop up a Radform. The user enters some data. When they close it the Radajaxmanager ajax_request event fires on the master. How do i update the controls on the child form in code behind withou a full page post back?

What i was hoping to to is have the ajax_request event fire in the child form so i can update the controls without a postback.

I tried to capture the event but it is ignored.

 

 


Dim manager As RadAjaxManager = RadAjaxManager.GetCurrent(Page)

 

AddHandler manager.AjaxRequest, AddressOf Local_AjaxRequest

 


Thanks.

1 Answer, 1 is accepted

Sort by
0
Pavlina
Telerik team
answered on 24 Dec 2012, 11:20 AM
Hi,

In a master page / content page scenarios, the RadAjaxManager instance should go in the master page. The content page should have a RadAjaxManagerProxy defined. This is explained in this online help topic.
In this case, you can use the RadAjaxManager ajaxRequest() client-side method and handle the AjaxRequest event to update the desired controls.

All the best,
Pavlina
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
General Discussions
Asked by
Kim
Top achievements
Rank 1
Answers by
Pavlina
Telerik team
Share this question
or