AJAX :: HTMLEditor Stripping Spaces Words Merging Together?
Jan 21, 2010
I've encountered a weird issue with using the HTMLEditor control in FireFox. I had been getting reports of words being merged together in the editor at random and it took a long time to reproduce it, but I finally have a scenario where it happens consistently. The particular scenario looks like:
Using FireFoxPerform a cut and paste within the editor (ctrl-x, ctrl-v) to move some content around.Save the contents of the editor via button postback (the button and control are in an updatepanel)Some space characters are stripped in the HTTP request (I verified with Fiddler)So, now I'm looking at whether something is going on with the editor control to strip those spaces before it posts or if this is a FireFox issue. It never appears to happen in IE or Chrome.
Has anybody seen or heard about anything like this? Have any tips for debugging further to nail down the culprit?
When copying and pasting from a formatted Micorsoft document, the editor drops many spaces.
If I use the "Paste from MS Word (with cleanup)" feature, the document loses its formatting.
If I don't use it, many spaces get lost and the words around them get concatenated. I just downloaded the last release of the toolkit and the problem still persists.
Users are using Firefox and Chrome with the same result.
Whenever I enter data in a text box, such as two words with many spaces in between, on postback .Net appears to automatically replace the many spaces with one space. I want the data to be exactly as it is entered in the text box. textbox: word1 word2 postback result: word1 word2 desired result: word1 word2
I have a pretty basic search feature on a site that queries a sqldb with a sqldarasource, and then displays the results on a page, in a panel within a Repeater. I'd like to figure out if it's possible to somehow highlight the words the user searched on as they are displayed in the search results. The code below is my repeater. Do you know of any way to manipulate the Title or Description if the words in it's body match the words searched?
I'm looking into using the HTMLEditor from the toolkit. I know its open source which isn't the problem. The problem is that I don't want to have my program to be open source but would like to use the editor. The source code I'd like to be paid for where the compiled version (the dlls and aspx pages) will be free to download. Is it possible to do that?
I am using the Html Editor Ajax Control Toolkit for. Net 3.5 and I need as a va text being typed and reach the lateral borders of the editor for him to play next line and do not let avontade type and add a scroll horizoltal.In short without horizontal scroll
I know this issue has been up here before, but I could not find any answer for it.Is there anyway to add a custom button / control (dropdown or whatever) for H1, H2 tags to use with the HTMLEditor.Where can I add such funtionality? Is it possible to use some custom overriding i a separate .cs class.Please provide some example how to do this.
First, if I type an e-mail address into the HTMLEditor control, it automatically reformats the e-mail address into a link (underlined w/ blue font). How can I disable this feature?
Second, is there a way to prevent pasting into the HTMLEditor? I successfully got Internet Explorer to throw errors when I copied & pasted the entire page, HTMLEditor and all, into the HTMLEditor control. Since the page already contained a PageRequestManager, the data I pasted into HTMLEditor contained its own code for a PageRequestManager. As a result, unsurprisingly, I got the following IE error:
Error: Sys.InvalidOperationException: The PageRequestManager cannot be initialized more than once.
Is there a way for me to prevent these strange situations from occurring?
I've been having some real trouble with the HTMLEditor.Essentially, I would like the editor to display an entry of a SQL database, so that the user can edit the entry and update the entry.So, here is the aspx snippet:
[Code]....
This works great. The problem comes when I want to update the entry back to the database. When I press my asp:button, I use this to find out what my new value is
I tried to use the Paste from Ms word button in the tool bar of htmlEditor to paste text. The htmleditor to manage to clean up the MS tags in the html markup. However, it also removes all the font sizes, setting them all to be a default font size.
1. What is the HTML version of the HTML string returned by HTMLEditor control?
2. I am passing the HTML string returned by this control to SSRS 2008 reports. But since SSRS understands only basic HTML (old <u> tags for underline), SSRS can't display underlined text. Is there any way to tell HTML string returned by HTML Editor to return basic (old) HTML format string. Specifically for underline <u> tags instead of <span text-decoration: underline>?
3. The custom Editor control using App_Code is not working for Web application project in VS 2010? What is the way to customize this HTMLEditor toolbar to display selected operations like e.g. only BOLD and UNDERLINE.
I've got a aspx page with 2 update panels. The first has a HTMLEditor (ajax control toolkit), and the second had a textfield and a butten. after i push the button (of course there is some action but no focus things) afther the action is done the focus gets to the HTMLeditor.Why ? There is no page reload (because of the updatepanel) so why get the htmleditor the focus?
I notice that the HTMLEditor in the AJAX Toolkit does not come with an option to upload a file (for example a word document) that can be linked for the user to click and download. I tried using obout suite but it is only a trial version and it is currently not feasible for us to purchase a licence from them.
Is there any free HTML Editor that I can integrate with ASP that is available with a document upload option?
I am setting HTMLEditor height to 150px. But it look different in different browser. In IE and Crome it is showing me almost same but in Firefox the height becomes to large.
I like to use the ajaxcontroltoolkit, but i'm missing the H1,H2,H3 possibilities.How can i add it to the editor?With a override class i can add some buttons, but how can i add the posibility to set <h1></h1> on the selected text?And what if i change the H1 to H3... I'll got stuck in this, i know how to add a button and javascript to it, but don't know how to add the H1 to it.Also would a dropdownbox be better i thinkCoding to add a button: