Hi,
I have figured out how to use the client-side ajaxRequestWithTarget method of the RadAjaxManager on a single page. But it all goes a bit pear-shaped when I try to do so on a page that has a Master page.
I placed a RadAjaxManagerProxy in the Master page. My first question is, which file do I place the event handler RadAjaxManager1_AjaxRequest in? The CodeFile of the Master page (a user control) or the CodeFile of the aspx page?
I tried it in both places, and the breakpoint which I put in both places was not hit.
The javascript function which I used to initiate the request was fired by the OnClientSelectedIndexChanged event of a RadComboBox control:
Is this something which cannot be done when the RadAjaxManager is on a Master page and the other controls are on a ContentPage?
I have figured out how to use the client-side ajaxRequestWithTarget method of the RadAjaxManager on a single page. But it all goes a bit pear-shaped when I try to do so on a page that has a Master page.
I placed a RadAjaxManagerProxy in the Master page. My first question is, which file do I place the event handler RadAjaxManager1_AjaxRequest in? The CodeFile of the Master page (a user control) or the CodeFile of the aspx page?
I tried it in both places, and the breakpoint which I put in both places was not hit.
The javascript function which I used to initiate the request was fired by the OnClientSelectedIndexChanged event of a RadComboBox control:
<
telerik:RadCodeBlock
ID
=
"RadCodeBlock"
runat
=
"server"
>
<
script
type
=
"text/javascript"
>
function InitiateAsyncRequestByCombo(sender, eventArgs) {
var ajaxManager = $find("<%= RadAjaxManager.GetCurrent(this.Page).ClientID %>");
ajaxManager.ajaxRequestWithTarget("<%= FilterRadComboBox.UniqueID %>", sender.get_selectedItem().get_value());
return false;
}
</
script
>
</
telerik:RadCodeBlock
>
Is this something which cannot be done when the RadAjaxManager is on a Master page and the other controls are on a ContentPage?