Skip to main content
Microsoft Silverlight
Home Forums Silverlight Programming Silverlight Controls and Silverlight Toolkit How to create a “RichTextBox” control in Silverlight 2.0?
11 replies. Latest Post by king123 on June 17, 2009.
(0)
danipham
Member
4 points
6 Posts
04-01-2008 4:53 AM |
I searched on the Web and did not found any really good solution. This control is not announced and may be not planned for Silverlight 2.0 RTM.The “DLR Console” http://dynamicsilverlight.net/see/dlrconsole/, simulate the control but is not a custom control and have many keyboard mapping problems (in French for example) so it is not a solution for me.I could also use DOM Interop to use “Html” editing capacity to simulate the control like http://www.voidspace.org.uk/ironpython/webide/webide.html.But neither the solutions above are satisfactory for me.
Does any one have any ideas/tips/directives to drive me how to create such a control?
I'm familiar with creating custom control in WinForms C# and using Win32 API. But it is not the case in Silverlight 2.0.
Thanks in advance.
crpietsc...
217 points
57 Posts
04-02-2008 12:28 AM |
You may want to start with looking at using some of the code in the DLR Console and implement your own user control. I haven't found any information on a good silverlight richtextbox either.
04-02-2008 5:34 AM |
As I said in my post, I already study the DLR Console code and due to the keyboard mapping problem. It is not a viable solution for me. As I have to support any keyboard type.
Regards,
ammonm
16 points
11 Posts
04-03-2008 2:43 PM |
I've been looking for a rich text box too. Since there is no plan to include one in Silverlight 2.0 we will have to wait until a 3rd party makes a rich edit component for us. What are the main features of the rich text exit that you are looking for? I'm mostly looking for the following: Text color/size hyperlinks images
vectorlight
82 points
07-09-2008 3:25 PM |
There is a demo of a RichTextBox over at http://www.vectorlight.net/silverlight_rich_textbox_demo.aspx. It is still early in development but is stable and free to use. Hope this is of use to you guys!
toddpi314
14 points
26 Posts
07-09-2008 7:02 PM |
Component One has a clean RichTextBox up for purchase.
Does not support Lists, Tables, or Images just yet... also there are a few bugs.
They have two more public betas planned before release.
07-21-2008 1:38 PM |
The news around town is that Component One will have a fully functional RichTextEditor in about 2 months.
They have scheduled releases of their Silverlight Components in a series (alpha, beta, m1, m2, m3, m4, RC).
RichTextEditor *should* have list, image, table support by M4 drop; this is an estimate but I bet their programmers can make it. All the rest of their components are pretty hardcore.
syl
72 points
30 Posts
07-21-2008 6:42 PM |
Hi all
A nice project on codeplex, with complete source code.
http://www.codeplex.com/richtextedit
ben45
2 points
2 Posts
07-22-2008 3:13 AM |
There are a few solutions as you can see.
In addition to the ones already posted above, there is an open source framework that promises full integration & interoperability of Silverlight. Has anyone experienced with Visual WebGui for Silverlight?
I saw it on their Silverlight catalog - there is a RichTextEditor control.
Shaji-mji
Participant
1129 points
260 Posts
07-22-2008 3:31 AM |
http://www.vectorlight.net/controls/rich_textbox.aspx
rg10
16 Posts
08-02-2008 5:11 PM |
Hi,
I have some experience with visualwebgui and it does offera RichTextBox control in Silverlight 2.0. The framework allows integration of DHTML in Silverlight.
They have some examples of this on the catalog and they have a webmail demo.
http://www.visualwebgui.com/silverlight
you can also check out the complete Silverlight controls list here
king123
10 points
5 Posts
06-17-2009 9:13 AM |
First U add silverlight Toolkit ,Then automatic add RichTextbox control in Ur Tool list
[Note: if not add that control then add silverlightControls Tolkit]