Showing posts with label rich. Show all posts
Showing posts with label rich. Show all posts

Wednesday, March 28, 2012

Text Editor

Does anyone know of a rich text (WYSIWYG) editor to include in a web page for ASP.NET 2.0? I am using VS2005 and I am unable to get FreeTextBox to work. I need a different one, or if somebody know how to get FTB to work...I would greatly appreciate it!I thought that .net 2 could host 1.x apps/assemblies, in which case it should be able to correctly host FTB or any current 1.x control.
What sort of errors are you getting?

It says "Error Creating Control - Object reference not set to an instance of object". I followed all steps listed on the help. I also got it working fine in VS2003. Any ideas?

Thursday, March 22, 2012

TextBox

Hi i was using VB express 2005 express edition and decided to swop to web developer. Previously in vb express there is a rich textbox, does web developer have something similar to that? my main concern is that i want to be able to assign one colour to each word.

Thanks!

vb express code :

If character = "L" Then
RichTextBox1.SelectionColor = Color.Purple
RichTextBox1.AppendText(character2)
RichTextBox2.SelectionColor = Color.Purple
RichTextBox2.AppendText(character2)
Weight1.Append(character)
Weight3.Append(character)


ElseIf character = "E" Then
RichTextBox1.SelectionColor = Color.Red

RichTextBox1.AppendText(character2)
RichTextBox2.SelectionColor = Color.Red

RichTextBox2.AppendText(character2)
Weight1.Append(character)
Weight3.Append(character)

huh? There is no native Rich Text Editor in VB Express... you must have downloaded and installed an addin.

I like tinyMCE and FreeTextBox, both work well. fckEditor also is out there as well as many others.


hmm i think u misunderstand me. There is rich textbox in visual basic express edition 2005 but there is no rich textbox in visual web developer, So im asking whether in visual web developer there is something that functions like rich text box whereby u can assign one colour to one characters?


Oh... WINDOWS Forms...

Then no, there is no native Web Forms control for Rich Text......You have to use a 3rd party one.


hmm any 3rd party one to recommend?


As I mentioned...

Curt_C:

I like tinyMCE and FreeTextBox, both work well. fckEditor also is out there as well as many others.


Lets say i use freetextbox, am i allow to assign one colour to one character using code in vb? is the code same as this?

If character = "L" Then
RichTextBox1.SelectionColor = Color.Purple
RichTextBox1.AppendText(character2)
RichTextBox2.SelectionColor = Color.Purple
RichTextBox2.AppendText(character2)
Weight1.Append(character)
Weight3.Append(character)


ElseIf character = "E" Then
RichTextBox1.SelectionColor = Color.Red

RichTextBox1.AppendText(character2)
RichTextBox2.SelectionColor = Color.Red

And where is the link to get it?

Thanks!


I have download the file, how do i add it to the web developer?


I personally like FCKeditor also -www.fckeditor.net/


Hmm do u know the visual basic code to assign colours to the characters in fckeditor?


How do i add the fck editor to my project?


dr3amxstar:

Lets say i use freetextbox, am i allow to assign one colour to one character using code in vb? is the code same as this?

If character = "L" Then
RichTextBox1.SelectionColor = Color.Purple
RichTextBox1.AppendText(character2)
RichTextBox2.SelectionColor = Color.Purple
RichTextBox2.AppendText(character2)
Weight1.Append(character)
Weight3.Append(character)


ElseIf character = "E" Then
RichTextBox1.SelectionColor = Color.Red

RichTextBox1.AppendText(character2)
RichTextBox2.SelectionColor = Color.Red

None of the Editors are designed for programatic interaction like that. In order for that to happen with VB you would have to postback everytime a letter was pressed on the keyboard. Otherwise, you can manually parse the html text they generate and manipulate it whatever way you want...after it's posted to the server.