Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C# ASP.NET
i want to use ajax toolkit HTMLEditro Control but when i face this problem and this is my code:
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit.HTMLEditor" TagPrefix="cc1" %>
 
and
        <cc1:Editor ID="Editor1"  runat="server" />
        <asp:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server"></asp:ToolkitScriptManager>
and this image is result : http://upload.tehran98.com/img1/5g84pbahop59d34dep4y.jpg
Posted 17-Apr-13 20:24pm
Edited 17-Apr-13 20:31pm
v5
Comments
CodeNinja-C# at 18-Apr-13 4:08am
   
Hi,
 
It might be work,
Verify the outer table width and Height and set the editor width and height
RedSakura at 18-Apr-13 14:30pm
   
i tried for that but it didnt work.
i switched on my other computer runing windows 8 and it was working correctly.
i donno how the its possible >.<
CodeNinja-C# at 19-Apr-13 1:33am
   
Hi Red,
I don't know the solution for your problem but some one from code project community will help you.
my advice is try to create an empty web page and insert the editor into it and check that page in browser if it works fine, probably you need to recheck your page design.
if you resolve this bug with any other option please intimate me..
--SJ
Member61 at 18-Apr-13 6:16am
   
Mention height and width ...

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

This is the code for the HTMLEditorExtender[^] which can be added to a textbox. You might want to try it out as an alternative solution.
<script>
        function onContentsChange() {
            alert('contents changed');
        }
    </script>
 
    <asp:TextBox runat="server"
        ID="txtBox1"
        TextMode="MultiLine"
        Columns="50"
        Rows="10"
        Text="Hello <b>world!</b>" />
 
    <ajaxToolkit:HtmlEditorExtender
        ID="htmlEditorExtender1"
        TargetControlID="txtBox1"
        OnClientChange="onContentsChange"
        runat="server" >
    </ajaxToolkit:HtmlEditorExtender>
 
cheers,
Marco
  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 OriginalGriff 310
1 Sergey Alexandrovich Kryukov 176
2 PhilLenoir 164
3 Richard MacCutchan 160
4 Sharmanuj 156
0 Sergey Alexandrovich Kryukov 6,081
1 OriginalGriff 5,115
2 CPallini 2,473
3 Richard MacCutchan 1,597
4 Abhinav S 1,505


Advertise | Privacy | Mobile
Web02 | 2.8.140814.1 | Last Updated 22 Apr 2013
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100