Hello, my scenario is as follows:
1. MasterPage with two ContentPlaceHolders.
2. On the Page-level, each ContentPlaceHolder contains a RadAjaxPanel.
3. At any time, the panel called RadAjaxPanel2 might trigger an event which is caught by the Page. The Page wants to update RadAjaxPanel1.
The update is done through:
However, when the Page loads i find the following error in FireBug:
Note: FUDistributionFile is a RadUpload control located in a UserControl in RadAjaxPanel2.
My question is why can't I interact between the two panels?
Regards
/Linus
1. MasterPage with two ContentPlaceHolders.
2. On the Page-level, each ContentPlaceHolder contains a RadAjaxPanel.
3. At any time, the panel called RadAjaxPanel2 might trigger an event which is caught by the Page. The Page wants to update RadAjaxPanel1.
The update is done through:
protected void OrderCreated(object sender, EventArgs e) |
{ |
Orders.DataBindOrders(); |
RadAjaxPanel2.ResponseScripts.Add(String.Format("$find('{0}').AjaxRequest();", RadAjaxPanel1.ClientID)); |
} |
However, when the Page loads i find the following error in FireBug:
$find("ctl00_MainContent_RadAjaxPanel1").AjaxRequest is not a function |
addFileInput(undefined)Telerik.Web.UI.We... (line 15611) |
initialize()Telerik.Web.UI.We... (line 15461) |
Sys$Component$endUpdate()ScriptResource.ax... (line 2587) |
Sys$Component$create(function(), Object allowedFileExtensions=[".xls"], null, null, div#ctl00_MainContent_CalcGuide_FUDistributionFile.radupload)ScriptResource.ax... (line 2736) |
Sys$_Application$add_init(function()) |
Note: FUDistributionFile is a RadUpload control located in a UserControl in RadAjaxPanel2.
My question is why can't I interact between the two panels?
Regards
/Linus