Skip to main content

How to create a “RichTextBox” control in Silverlight 2.0?RSS Feed

(0)

danipham
danipham

Member

Member

4 points

6 Posts

How to create a “RichTextBox” control in Silverlight 2.0?

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.

crpietschmann
crpietsc...

Member

Member

217 points

57 Posts

Re: How to create a “RichTextBox” control in Silverlight 2.0?

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.

Microsoft MVP - Windows Live Platform
Blog: http://pietschsoft.com | Web.Maps.VE - ASP.NET AJAX Bing Maps Control

danipham
danipham

Member

Member

4 points

6 Posts

Re: How to create a “RichTextBox” control in Silverlight 2.0?

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,

danipham

ammonm
ammonm

Member

Member

16 points

11 Posts

Re: Re: How to create a “RichTextBox” control in Silverlight 2.0?

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
vectorlight

Member

Member

82 points

6 Posts

Re: Re: How to create a “RichTextBox” control in Silverlight 2.0?

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
toddpi314

Member

Member

14 points

26 Posts

Re: Re: Re: How to create a “RichTextBox” control in Silverlight 2.0?

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.

toddpi314
toddpi314

Member

Member

14 points

26 Posts

Re: Re: Re: Re: How to create a “RichTextBox” control in Silverlight 2.0?

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
syl

Member

Member

72 points

30 Posts

Re: Re: Re: Re: How to create a “RichTextBox” control in Silverlight 2.0?

Hi all

A nice project on codeplex, with complete source code.

http://www.codeplex.com/richtextedit


 

--
Best regards

Belmessieri Sylvain (Alti)

ben45
ben45

Member

Member

2 points

2 Posts

Re: Re: Re: Re: How to create a “RichTextBox” control in Silverlight 2.0?

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
Shaji-mji

Participant

Participant

1129 points

260 Posts

Re: Re: Re: Re: How to create a “RichTextBox” control in Silverlight 2.0?

http://www.vectorlight.net/controls/rich_textbox.aspx

 

 

rg10
rg10

Member

Member

72 points

16 Posts

Re: How to create a “RichTextBox” control in Silverlight 2.0?

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
king123

Member

Member

10 points

5 Posts

Re: Re: How to create a “RichTextBox” control in Silverlight 2.0?

First U add silverlight Toolkit ,Then automatic add RichTextbox control in Ur Tool list

[Note: if  not  add that control then add silverlightControls Tolkit]

  • Unanswered Question
  • Answered Question
  • Announcement