htmleditor

Ajax Control Toolkit Editor Control - avoiding XSS attacks

I noticed in this article that Microsoft does not recommend using the Editor control from the Ajax Control Toolkit in public sites because of the danger of cross-site scripting attacks. I tried it out, and even if you specifically set NoScript="true" it's possible to add script, and therefore, introduce XSS attack vulnerabilities. In m...

Bug in HTML Editor in ASP.net Ajax toolkit

I'm trying to validate the content of the HTML Editor using an ASP.net custom validator control. The idea is to check that some content has been input - the same way a required field validator works. In the ClientValidationFunction="SomeFunction" I reference this function: function SomeFunction(source, args) { var editor ...

Why can't I find the AjaxControlToolkit Html Editor Control using FindControl when it's inside an AjaxControlToolkit ReorderList?

I have the latest release of the AjaxControlToolkit, and am using an AjaxControlToolkit Html Editor control inside an AjaxControlToolkit ReorderList. I need to be able to access the "content" property so I can write the value to the database but FindControl doesn't find it. for instance, I can find a TextBox control inside the ItemComm...

Ajax Control Toolkit HTML Editor Customization Problem ?

How to Change default setting for ACT HTML Editor? I want to load editor with for example Selected Bold Button or with rtl direction instead of ltr defaultly. How can I perform that? I overrided FillTopToolbar() method to add Custom buttons but I dont Know how to change default settings. as Default ltr is selected I want to change it to ...

Page Preview with JavaScript?

So I'm using the Ajax Control Toolkit and it's HTML Editor. I'm wondering what is the best approach to create a complete page preview? I have multiple HTML Editor's on the page so I need to get the content of each HTML Editor and save it to a cookie or something, then have a popup with the preview page, which loads the info from the co...

ASP.NET AJAX htmlEditor Control issue

I'm using the HTMLEditor control from the ASP.NET AJAX Control Toolkit. It works fine in most instances but 2 of my customers are experiencing an issue. Whenever they CTRL-C copy or CTRL-P paste function is used, any of the toolbar buttons are clicked, or the backspace key is hit, the browser window closes! I cannot find ANY reference ...

AjaxControlToolkit: HtmlEditor Textarea not showing in Chrome/Safari

Hi, I am using the HtmlEditor Control included in the AjaxControlToolkit (patched version v62210 because I needed some of the included fixes). Unfortunately the textarea in the Html Editor control is never displayed in Chrome and Safari (both latest version). It doesn't matter if there is text in it or not. It does work on the AjaxC...

Adding video and flash functionality to the Ajax Control Toolkit HTMLEditor

Greetings, I'm looking for a way to extend the functionality of the HTMLEditor control that the Ajax Control Toolkit supplies for ASP.net. I would like to add video and flash functionality to the editor (buttons, allowed tags, etc). To my knowledge, this is rather easy: plop in an embed tag with the correct parameters and it just works;...

how to disable hyperlink browsing from an Html editor ?

Hello , how do I disable browsing to a http link from a Html editor. I have a vb.net web form with a html editor, when I add a hyperlink to the html editor, for example my application website for instance http://myapplication/myloginpage.aspx When I run and click the link I can browse my application from inside the Html Editor wh...

Questions about TinyMCE. Or suggestions on a compariable product.

Hi I am using jquery 1.3.2 and asp.net mvc 1.0. Originally I was using some other rich html editor but I ran into one major problem when a user pasted in text from open office or MS office it would bring along tons of styling junk. If a user like wrote one sentence what was like 25 characters and pasted that into my current html editor...

html editor properties

I used the AjaxControlToolkit html editor on my page: <%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit.HTMLEditor" TagPrefix="cc1" %> <cc1:Editor ID="txtjobdesc" runat="server" AutoFocus="False" /> I sent the values to the database as txtjobdesc.Content.Tostring(); But, if I type just a paragraph in the edit...

Html editor (WYSIWYG) for WinForms (C#)

Hi, As in the question. Do you know any good (it would be nice if free) WYSIWYG html editor for WinForms (C#)? There is only one requirement: it has to be manage code only (by this I mean, it can't use mshtml COM object (WebBrowser control)). I've found this: http://www.modeltext.com/html/ but there is no download/buy option. I will b...

how to download and configure phpimage for TinyMCE

Actually I am looking for the best HTML editor for my CMS. With support for PHP and jQuery. I found TinyMCE but it doesn't have image upload functionality. Then I found phpimage, but every time I go to http://sourceforge.net/tracker/?func=detail&amp;aid=2844769&amp;group_id=103281&amp;atid=738747 and click on "files", I get the normal T...

Html editor - Text to HTML convertor

I want to convert my text into HTML format, it would be just like this: that I just copy paste the text from word, pdf [with formatting & colors] to the editor and it will convert it into HTML tags, so that when I decode it again it would give me the same format that I have pasted. I am mostly happy with PageBreeze but sometimes it dest...

Portal articles migration, need a htmleditor with API, fckeditor ?

Hey, we are migrating articles from old portal to new one. The source of articles is atom feed and they will be added to atomPub server of the new portal using apache abdera. Each entry, when being processed by abdera in the object representation, should be placed into a queue and supplied to a htmleditor when a person-editor clicks "ne...

How to collapse JavaScript function/comment blocks in VS2010/VS2008

I don't think it is possible right now in VS2010/VS2008 but I'm sure someone must have done or can come up with some workaround using the extensibility of VS2010/VS2008. Ability to collapse javascript function/comment blocks within script tag in an aspx file editor and in javascript(*.js) file editor the same way we can do in any other ...

How do I enter a plus sign ASP.NET Ajax HTMLEditor

I am using Microsofts ASP.NET Ajax HTML editor found here http://www.asp.net/ajax/ajaxcontroltoolkit/Samples/HTMLEditor/HTMLEditor.aspx. When I enter a plus sign '+' into the editor it always gets stripped out and replaced with a space. I even tried using &#43; but that failed to work. Is some way to enter a plus sign into the editor?...

MS AJAX HTMLEditor - Customize the Toolbars

I'm using the MS AJAX HTMLEditor component on a web site. However, I want to be able to customize the toolbars that are available to users. From what I've read, it seems to be handled with CSS but the documentation doesn't really provide exact customization code. I'd like my editor to look exactly like the one at: http://www.asp.net/ajax...

How do you get/set content via javascript with the AJAX Control Toolkit HTML Editor ?

Hi, I'm using the AJAX Control toolkit HTML editor and have what I hope is a simple question. As the question title says - how do you get/set the content of the HTML editor via javascript ? I have no problems accessing the server side content property - but how to do it client side ??!? Any help gratefully received ! Thanks, Tim. ...

How to use AJAX editor with HTML content?

I use the standard AJAX editor and I want to put the HTML content in a database and I want to get the HTML data from the database to put in the HTML editor, in HTML mode. So I do: Editor1.ActiveMode = AjaxControlToolkit.HTMLEditor.ActiveModeType.Html; Editor1.Content = MessageLabel2; view plaincopy to clipboardprint? Editor1.Act...