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

[Solved] Asp Scriptreference not working

1 Answer 216 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
KG
Top achievements
Rank 1
KG asked on 28 Aug 2009, 02:12 PM

I am facing some problem on the Scheduler. while developing the code I used the Radscheduler (version RAD Ajax controls Q1 2009). Later I upgraded the Telerik.Web.UI.dll to latest Version of Radscheduler  (Version RAD Ajax controls  Q2 2009). After upgrading that I am having a issue on the Radscheduler.  



<
telerik:RadScriptManager ID="RadScriptManager2" runat="server">

 

 

<scripts>

 

 

<asp:ScriptReference Path="~/DefaultTemplates/AdvancedForm.js" />

 

 

</scripts>

 

 

</telerik:RadScriptManager>

The issue arises in the above code snippet at <asp:scriptreference>. I tried replacing the old version of Radscriptmanager with new version of Radscriptmanager(Q2 2009). I tried all the options provided by the below URL. But nothing works.

http://www.telerik.com/community/forums/aspnet-ajax/general-discussions/asp-scriptreference-problem.aspx

Here is the Error message:

 

System.Web.UI.ScriptReferenceCollection must have items of type 'System.Web.UI.ScriptReference'. 'asp:ScriptReference' is of type 'System.Web.UI.ScriptReference'.

 

Please help me out to solve the above issue.

thanks,
KG

1 Answer, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 31 Aug 2009, 11:33 AM
Hi kamal,

You can download a working sample from here:
http://www.telerik.com/support/kb/aspnet-ajax/scheduler/sample-project-of-the-customizing-the-advanced-template-example.aspx


Regards,
Peter
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
Scheduler
Asked by
KG
Top achievements
Rank 1
Answers by
Peter
Telerik team
Share this question
or