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
7 Answers, 1 is accepted
0
Hello Linus,
Indeed, there is no AjaxRequest function but ajaxRequest instead. See the Client-Side API for details:
http://www.telerik.com/help/aspnet-ajax/ajxclientsideapi.html
Best wishes,
Konstantin Petkov
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Indeed, there is no AjaxRequest function but ajaxRequest instead. See the Client-Side API for details:
http://www.telerik.com/help/aspnet-ajax/ajxclientsideapi.html
Best wishes,
Konstantin Petkov
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Linus
Top achievements
Rank 2
answered on 19 Aug 2008, 01:32 PM
Hi, you are correct and now it's working, thanks!
However, your help pages are missleading, stating that it's supposed to be AjaxRequest...
Linus
However, your help pages are missleading, stating that it's supposed to be AjaxRequest...
http://www.telerik.com/help/aspnet-ajax/ajxinteractionbetweenpanels.html
RegardsLinus
0
Hi Linus,
You are correct too!
We have immediately fixed the discrepancy and the next version will contain the updated article. I have updated your Telerik points for notifying us about that, thank you!
All the best,
Konstantin Petkov
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
You are correct too!
We have immediately fixed the discrepancy and the next version will contain the updated article. I have updated your Telerik points for notifying us about that, thank you!
All the best,
Konstantin Petkov
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Ales Savli
Top achievements
Rank 1
answered on 02 Jun 2010, 09:36 AM
You still did not correct your live demo pages. There is stil "AjaxRequest()" all over.
0
Hi Ales,
The help topics and online demos were updated accordingly and the letter casing matches the current API conventions (i.e. ajaxReqest() starts with small letter). Let us know if we are missing something.
Best regards,
Sebastian
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.
The help topics and online demos were updated accordingly and the letter casing matches the current API conventions (i.e. ajaxReqest() starts with small letter). Let us know if we are missing something.
Best regards,
Sebastian
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
Ales Savli
Top achievements
Rank 1
answered on 02 Jun 2010, 12:50 PM
Look here: http://www.telerik.com/help/aspnet-ajax/grdvirtualscrollpaging.html
0
Hello Ales,
Thank you for the remark - the discrepancy will be addressed for the next version of the online documentation. I updated your Telerik points for drawing our attention to this detail.
Best regards,
Sebastian
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.
Thank you for the remark - the discrepancy will be addressed for the next version of the online documentation. I updated your Telerik points for drawing our attention to this detail.
Best regards,
Sebastian
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.