Bonjour à tous,
Je rencontre un petit probleme avec CKeditor. Lorsque j'ajoute mon controle, pas de probleme, ma page aspx contient :
et plus bas :
Code : Sélectionner tout - Visualiser dans une fenêtre à part <%@ Register Assembly="CKEditor.NET" Namespace="CKEditor.NET" TagPrefix="CKEditor" %>
Quand je compile, tout va bien, mais lorsque je rajoute un ID à mon controle, comme cela :
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11 <CKEditor:CKEditorControl runat="server" ToolbarFull="helloworld|Source|-|Cut|Copy|Paste|PasteText|PasteFromWord|- Undo|Redo|-|Find|Replace|-|SelectAll|RemoveFormat Bold|Italic|Underline|Strike|-|Subscript|Superscript NumberedList|BulletedList|-|Outdent|Indent|Blockquote|CreateDiv JustifyLeft|JustifyCenter|JustifyRight|JustifyBlock BidiLtr|BidiRtl Link|Unlink|Anchor Image|Table|HorizontalRule|Smiley|SpecialChar|PageBreak Styles|Format|Font|FontSize TextColor|BGColor Maximize|ShowBlocks" Language="en" ResizeEnabled="False"></CKEditor:CKEditorControl>
j'ai dans le designer.vb l'erreur :
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11 <CKEditor:CKEditorControl ID="Test" runat="server" ToolbarFull="helloworld|Source|-|Cut|Copy|Paste|PasteText|PasteFromWord|- Undo|Redo|-|Find|Replace|-|SelectAll|RemoveFormat Bold|Italic|Underline|Strike|-|Subscript|Superscript NumberedList|BulletedList|-|Outdent|Indent|Blockquote|CreateDiv JustifyLeft|JustifyCenter|JustifyRight|JustifyBlock BidiLtr|BidiRtl Link|Unlink|Anchor Image|Table|HorizontalRule|Smiley|SpecialChar|PageBreak Styles|Format|Font|FontSize TextColor|BGColor Maximize|ShowBlocks" Language="en" ResizeEnabled="False"></CKEditor:CKEditorControl>Du coup, je ne peux pas acceder à mon controle depuis le codebehind.Type 'CKEditor.NET.CKEditorControl' is not defined.
Quelqu'un saurait comment résoudre ce problème ?
Merci d'avance de votre aide.
DeWaRs
Partager