Could not load control AjaxControlToolkit.HTMLEditor.Editor

Ich bin versucht, das AjaxToolKit-Editor, aber wenn ich die Seite anzeigen bekomme ich eine Fehlermeldung besagt, dass die Steuerung wurde nicht richtig geladen.

Da ich nicht sicher bin, was fehlt, ich bin mir nicht sicher, wie viel Informationen in diesem post. Wenn es etwas anderes kann ich Ihnen bieten könnte, zeigen Sie das problem, Sie raten, und ich werde es hinzufügen.

Meine Fehlermeldung:

Could not load control AjaxControlToolkit.HTMLEditor.Editor. The
script reference(s) of this control was not loaded correctly. If
AjaxControlToolkit.config is used, probably this control is not
registered properly.    Description: An unhandled exception occurred
during the execution of the current web request. Please review the
stack trace for more information about the error and where it
originated in the code.   Exception Details: System.Exception: Could
not load control AjaxControlToolkit.HTMLEditor.Editor. The script
reference(s) of this control was not loaded correctly. If
AjaxControlToolkit.config is used, probably this control is not
registered properly. Source Error:   An unhandled exception was
generated during the execution of the current web request. Information
regarding the origin and location of the exception can be identified
using the exception stack trace below.   Stack Trace:  [Exception:
Could not load control AjaxControlToolkit.HTMLEditor.Editor. The
script reference(s) of this control was not loaded correctly. If
AjaxControlToolkit.config is used, probably this control is not
registered properly.]   
AjaxControlToolkit.ToolkitScriptManager.OnPreRender(EventArgs e) +387 
System.Web.UI.Control.PreRenderRecursiveInternal() +83   
System.Web.UI.Control.PreRenderRecursiveInternal() +168   
System.Web.UI.Control.PreRenderRecursiveInternal() +168   
System.Web.UI.Page.ProcessRequestMain(Boolean
includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
+974

Mein HTML:

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm1.aspx.cs" Inherits="UACWeb.WebForm1" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="AjaxToolKitTag" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit.HTMLEditor" TagPrefix="cc1" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>TEST</title>    
</head>
<body>
    <form id="form1" runat="server">
        <AjaxToolKitTag:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server" CombineScripts="false"></AjaxToolKitTag:ToolkitScriptManager>
        <cc1:Editor ID="Editor1" runat="server" />
    </form>
</body>
</html>

Den Steuerelementen im Bereich " meine Web.config:

  <controls>
    <add assembly="Microsoft.AspNet.Web.Optimization.WebForms" namespace="Microsoft.AspNet.Web.Optimization.WebForms" tagPrefix="webopt" />
    <add tagPrefix="ajaxToolkit" assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" />
  </controls>

Ich nicht ein AjaxControlToolkit.config-Datei.

Können Sie loszuwerden, die zweite Registrierung der AjaxControlToolkit, und ändern Sie den KKI zu ajaxtoolkittag?

InformationsquelleAutor user2557397 | 2013-08-03

Schreibe einen Kommentar