Using: ASP.NET AJAX Q2 2008.
I posted this under General Discussions but didn't get a response. Perhaps I posted in the wrong place. Since this is urgent, I thought I'd post it here instead.
Hi,
I need some clarifications regarding the relationship between the RadScriptManager and ASP.NET's ScriptManager.
From RadScriptManager help, it says that:
"RadScriptManager is a control that replaces the ScriptManager available in the Microsoft Ajax Extensions suite."
Does that mean I can just replace it?
That's what I thought it meant but combining like this:
gives me the error:
"The control with ID 'updatePanel' requires a ScriptManager on the page. The ScriptManager must appear before any controls that need it."
However, if I do this:
The page runs.
But this also means that we have 2 script managers on the same page and I believe it'll lead to problems.
I'd prefer to stick to ASP.NET's ScriptManager however some of my rad controls will not run (e.g. RadTabStrip)
Please help clarify how we're supposed to use the RadScriptManager.
Thanks.
gavin
I posted this under General Discussions but didn't get a response. Perhaps I posted in the wrong place. Since this is urgent, I thought I'd post it here instead.
Hi,
I need some clarifications regarding the relationship between the RadScriptManager and ASP.NET's ScriptManager.
From RadScriptManager help, it says that:
"RadScriptManager is a control that replaces the ScriptManager available in the Microsoft Ajax Extensions suite."
Does that mean I can just replace it?
That's what I thought it meant but combining like this:
<telerik:RadScriptManager ID="radScriptManager" runat="server" /> |
<asp:UpdatePanel ID="updatePanel" runat="server"/> |
gives me the error:
"The control with ID 'updatePanel' requires a ScriptManager on the page. The ScriptManager must appear before any controls that need it."
However, if I do this:
<asp:ScriptManager ID="scriptManager" runat="server" /> |
<telerik:RadScriptManager ID="radScriptManager" runat="server" /> |
<asp:UpdatePanel ID="updatePanel" runat="server"/> |
The page runs.
But this also means that we have 2 script managers on the same page and I believe it'll lead to problems.
I'd prefer to stick to ASP.NET's ScriptManager however some of my rad controls will not run (e.g. RadTabStrip)
Please help clarify how we're supposed to use the RadScriptManager.
Thanks.
gavin
7 Answers, 1 is accepted
0
Hello Gavin,
Could you please verify if you are referencing to the correct dll . If you are using 3.5 version please make sure that you are referencing to the 3.5 version of the dlls and not the standard one.
All the best,
Maria Ilieva
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Could you please verify if you are referencing to the correct dll . If you are using 3.5 version please make sure that you are referencing to the 3.5 version of the dlls and not the standard one.
All the best,
Maria Ilieva
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0

Gavin
Top achievements
Rank 1
answered on 13 Sep 2008, 12:33 AM
Hi Maria,
That fixed my problem.
However, I'm unsure whether telerik intends for RadScriptManager to seamlessly replaces ASP.NET Ajax ScriptManager. (i.e. if I replace it and somethings don't work, is it a bug?). Or is RadScriptManager only expected to support telerik's suite of controls.
Thanks.
gavin
0
Hello Gavin,
The purpose of RadScriptManager is to replace the regular asp ScriptManager and allows to combine the embedded script resources for RadControls for ASP.NET AJAX (while at the same time has the same capabilities of the MS ScriptManager control). Detailed information about the usage of our RadScriptManager component you can find here.
Best regards,
Stephen
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
The purpose of RadScriptManager is to replace the regular asp ScriptManager and allows to combine the embedded script resources for RadControls for ASP.NET AJAX (while at the same time has the same capabilities of the MS ScriptManager control). Detailed information about the usage of our RadScriptManager component you can find here.
Best regards,
Stephen
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0

Robert Vreeland
Top achievements
Rank 1
answered on 16 Sep 2008, 06:31 PM
Unfortunately i'm unable to just drop in the radscriptmanager to replace the regular one.
The moment I do so I get a series of script errors on my pages that say that indicate that the normal ajax libraries did not load:
Syntax error on line 2
Sys in undefined
radconfirm is undefined
sys is undefined
if i change back to the normal scriptmanager then everything works as expected again.
So, it's not quite a drop in replacement for the normal scriptmanager.
What is the cause of this?
The moment I do so I get a series of script errors on my pages that say that indicate that the normal ajax libraries did not load:
Syntax error on line 2
Sys in undefined
radconfirm is undefined
sys is undefined
if i change back to the normal scriptmanager then everything works as expected again.
So, it's not quite a drop in replacement for the normal scriptmanager.
What is the cause of this?
0
Hello Robert,
Please post a short answer here (for the convenience of our community) whether the latest unofficial hotfix I sent you correct the aforementioned errors.
Regards,
Daniel
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Please post a short answer here (for the convenience of our community) whether the latest unofficial hotfix I sent you correct the aforementioned errors.
Regards,
Daniel
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0

Robert Vreeland
Top achievements
Rank 1
answered on 17 Sep 2008, 09:24 PM
I tried the hotfix version, but unfortunately it did not resolve the series of errors I am receiving.
thx.
thx.
0
Hello,
According to Robert this code helps to overcome the issues.
More information can be found under our troubleshooting section:
General troubleshooting
Regards,
Daniel
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
According to Robert this code helps to overcome the issues.
<location path="Telerik.Web.UI.WebResource.axd"> |
<system.web> |
<authorization> |
<allow users="*"/> |
</authorization> |
</system.web> |
</location> |
More information can be found under our troubleshooting section:
General troubleshooting
Regards,
Daniel
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.