naresh n

naresh n

  • NA
  • 67
  • 2.4k

How do I use AJAXToolscript Manager in server

Feb 25 2015 7:40 AM
i have a masterpage and a content page
in content page i have a code like this which everything works fine in the local but when i uploaded to the server it shows an error like this

Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.
Source Error:
Line 129:
Line 130:
Line 131: <asp:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server">
Line 132:
Line 133:

my master page code doesnt have a script manager or toolscriptmanager

but my content page has an editor which has requires toolscript manager,, Here is my code
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit.HTMLEditor"
TagPrefix="cc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server"></asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
<asp:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server"><asp:ToolkitScriptManager
<cc1:Editor ID="Editor_Body" runat="server" CssClass="textarea1" />
</asp:Content>

Answers (3)