skip to Main Content

I’m looking for some kind of HTML WYSWYG editor solution for an ASP.Net Webforms application. We currently use AjaxToolkit, but it doesn’t support pasting images, is not really accessible, etc. I came accross FreeTextBox, but it seems to not support image pasting either, and it’s been a big headache to configure properly given that the documentation is not all that descriptive. I’ve gotten the image gallery to work finally, but it looks pretty terrible, and I’m not sure the images will actually show up in the email (they were broken in my testing environment using the Papercut SMTP emulator). Just wondering if there are any other options I have with a Web Forms app, or am I limited to solutions that are as old as Web Forms?

2

Answers


  1. you can try CKEditor(it have editable tool panel and spell checker)

    https://ckeditor.com/cke4/builder

    this free js library, easy integrate and if you want send result to .aspx.cs side should use call back by DevExpress control

    Login or Signup to reply.
  2. I still use the ajaxtoolkit HTML editor. It is a bit dated, but I do find without any special settings, that I can paste in in images.

    So, say I drop in a text box, use extender, and add HTML editor.

    So, say this:

            <asp:ScriptManager ID="ScriptManager1" runat="server"></asp:ScriptManager>
    
            <asp:TextBox ID="TextBox1" runat="server" Width="1309px" 
                TextMode="MultiLine" Rows="40" ></asp:TextBox>
    
    
            <ajaxToolkit:HtmlEditorExtender ID="TextBox1_HtmlEditorExtender" runat="server" 
                BehaviorID="TextBox1_HtmlEditorExtender" 
                EnableSanitization="False" 
                TargetControlID="TextBox1">
            </ajaxToolkit:HtmlEditorExtender>
    

    I am able to put a picture in my paste buffer, and a simple ctrl-v does paste the picture:

    eg this:

    enter image description here

    As noted, I think the tool bar etc. does look quite outdated, but my experiance with the toolkit is that ctrl-v to paste in a picture does work.

    As suggested, the other possible is ckedit, and it should work with asp.net web pages.

    Its not clear why using the ajaxtoolkit editor does not allow cut + paste of images – my experience does seem to work. Perhaps you need sanitation=false?

    As noted, the other suggestion here was CKEditor, and that seems like a good choice also.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search