How To Get Value (non Html) From Ajax Html Editor
Jul 17, 2010get text (non html/ not formatted) from ajax text editor in asp.net i am using vs 2008.
i am using AjaxControlToolkit.HTMLEditor
you can see same kind of at : ajax HtmlEditor
get text (non html/ not formatted) from ajax text editor in asp.net i am using vs 2008.
i am using AjaxControlToolkit.HTMLEditor
you can see same kind of at : ajax HtmlEditor
I was wondering if there was an easy way to change the output generation properties of the HTML editor.
I need to change it from the current XHTML standard (spans, etc) to legacy styles; <b>, <u>, <i>, etc.
I have an Editor control on my page and the user can go in use it hit save and that all works.
In another part of the page I have a simple dropdown to select a note and view it. When you push view it loads the text which was entered in via the editor control.
If the user used an order or unordered list. The text shows up but not the list part.
So if they did this:
Example
ThisAnd this
What is displaying is
Example
This
And This
Without the bullets. Same for the numbers.
I have it going to a literal control which should render the html, but it doesn't.
I went through the documentation and looked at the asp.net/webmatrix pages but could not find a RichTextEditor.
Is there one built into WebMatrix or can I just use the AjaxToolkit Html Editor or another 3rd party editor?
anyone knows how to replace a html tag in a string with specific characters:
e.g.
string s1 = "<span style="italic">inluding <span style="bold">other</span> tags </span>";
string s2 = "<span style="italic">inluding </span><span style="bold">other tags </span>";
i want to replace "span" with "bold" to "bOpen" and "bClose" and to replace "span" with "italic" to "iOpen" and "iClose" in both c# and javascript.
i did use regular expression to do that: res = Regex.Replace(res, ".*?", replaceHtmlBold); but it cant match the nested tag and none-nested tag at the same time.
I'm trying to update my web site with the HTMLEditor control for Blog posting. I really need to know what my web.config changes need to be too. I get this error:Controls collection cannot be modified because the control contains code blocks (i.e. <% ... %>).An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
[code]...
I have a 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;
I am using VB.NET and implementing AJAX HTMLEditor, I want to remove some of the unused button from the HTMLEditor. I did use the Lite HTMLEditor by adding HTMLEditor.Samples.VB in App_Code folder.And add the following at the top of the page
<%@ Register
TagPrefix="customEditors"
Namespace="AjaxControlToolkit.HTMLEditor.Samples" %>
how to use the html editor control in ajax. i want to be able to use it to submit a written text to a database or send an email from my webpage.
View 1 RepliesHow can I create a control that ables me to edit the text area with html commands like "bold" and etc. ???
We have it in ajax control tool kit just for 3.5 framework but for the others version like 2.0 we don't have this control...so how can I do some thing like that ?
I use the HTML editor to capture a users post. It saves to an Access database and is displayed on our intranet. In english it works fine but we have users who post in spanish. Any special Spanish characture with accents (Such as Á ) do not get stored and redisplayed properly. Once saved to the db it appears as a black diamond with a question mark in it. When it's displayed on the web page it shows just a square box. I use server.htmlencode and decode if that helps. I can switch to HTML text view and put in the escape codes, but it's not an efficient way of expecting my users to work.
View 2 RepliesI need the client side only version of the HTML Editor (if it exsists) and if it does, can someone show me a basic example, or point me to one?
View 3 Repliesto customize HTML editor. I've seen that it is possible to change the buttons, etc., but is it possible to remove the parts of the menu in it? To be precise I would like to remove font selector and color selector, but I don't know how.
View 2 RepliesI use HTML Editor Ajax. But it does't include smileys. How can I add smiles?
View 1 RepliesHow can i set HtmlEditor ReadOnly ?
View 2 RepliesI had used HTML editor in my application but it doesnt ork in IE7.0 works fine in IE8.0 chrome,safari .
View 4 Repliesi have tried to just type carriage return and nothing else into a html editor of the toolkit , its content property has nothing.
How can i save single carriage return from the edior?
This is the codes that i used for my aspx.vb page.
Imports System.Data.SqlClient
i'm trying to cut out alot of the controls in my html editors toolbar
following this post [URL] and have ran my test app, the editor doesn't change the toolbar
is there something you have to do on the page to pickup the override subs?
i'm using 40412 (.NET 4.0) ajaxtoolkit
aspx: <act:Editor ID="editor1" runat="server" Width="400px" Height="350" />
this is the editor. the text here goes to database field.
aspx.vb: editor3.Content &= str
But only 1560 characters go into db .how is that?
System Info: .NET 3.5 and SQL Server 2008I am looking for a solution that can essentially open .doc files(from sql server database) on the web site and give the user full access to edit them. Then load them back to the sql server database as .doc's while retaining MS Word's format and spacing
View 6 RepliesI have been working on a new website for a few weeks with no speed issues at all.
[Code]....
This morning I was running / debugging new code and everything was running fine.
As soon as I dropped an AJAX HTML editor on my page it is taking about 30 seconds for my page to load when it was taking about 2 - 3 seconds. The only properties I changed was the Height and Width of the editor control.
Here is the code for that control:
<cc1:Editor ID="editorDetails" runat="server" Width="420" Height="300" />
I even turned off debugging just to see if that would help but it didnt.
I have the latest version which is 11-2009 BETA.
Could it be the beta version just has some debugging stuff that will go away with the final release version?
I want to change the default view of Html Editor in asp.net using language as vb but i don't have any idea how to do it. Can any one tell me how to do it.
View 1 RepliesIs there a way to get the plain text from the html editors .content?
View 2 Repliesis there a way to add a button to the editor that allows the user either to upload his image or submit a url for it,
View 2 Replies