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

ScriptReference is not a known element

1 Answer 342 Views
ScriptManager and StyleSheetManager
This is a migrated thread and some comments may be shown as answers.
Top achievements
Rank 1
Sid asked on 24 May 2012, 01:23 AM
I have a master page with both ScriptManager and AjaxManager on it.The code block is as follows:
<telerik:RadScriptManager ID="RadScriptManager1" runat="server" AsyncPostBackTimeout="900"
                <%--Needed for JavaScript IntelliSense in VS2010--%>
                <%--For VS2008 replace RadScriptManager with ScriptManager--%>
                <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.Core.js" />
                <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQuery.js" />
                <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQueryInclude.js" />
                <asp:ScriptReference Path="~/Charts/updatepanelhook.fusioncharts.js" />
    <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">

VS2010 gives the message ScriptReference is not a known element.  When I change from Source to Design view, I receive the message stating Error Creating Control RadScriptManager1.  Failed to create designer.  Telerik.Web.UI.RadScriptManager etc.

How can I remedy these two issues?


1 Answer, 1 is accepted

Sort by
Genady Sergeev
Telerik team
answered on 28 May 2012, 08:32 AM
Hi Sid,

Please make sure that you have reference for Telerik.Web.UI and that the telerik prefix is registered in the web.config or on the page, like this:

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>

Kind regards,
Genady Sergeev
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
ScriptManager and StyleSheetManager
Asked by
Top achievements
Rank 1
Answers by
Genady Sergeev
Telerik team
Share this question