Skip to main content
Home Forums Silverlight Programming Silverlight Controls and Silverlight Toolkit HTML container control : control to render HTML in silverlight
8 replies. Latest Post by Wardy on April 16, 2009.
(0)
neeraj.t...
Member
35 points
14 Posts
11-19-2008 2:44 AM |
Hi,
I have a problem to load a pre defined HTML page (with JavaScript and frames) in my silverlight application and I did not find any control which can render HTML in silverlight. I am using silverlight 2.0 please let me know, if there is any silverlight control which is offering HTML rendering.
Thanks in Advance
Neeraj Trivedi
shamrat231
Contributor
4477 points
572 Posts
11-19-2008 3:19 AM |
neeraj.trivedi: Hi, I have a problem to load a pre defined HTML page (with JavaScript and frames) in my silverlight application and I did not find any control which can render HTML in silverlight. I am using silverlight 2.0 please let me know, if there is any silverlight control which is offering HTML rendering. Thanks in AdvanceNeeraj Trivedi
Thanks in AdvanceNeeraj Trivedi
Please check this site.
http://www.vectorlight.net/silverlight_rich_textbox_demo.aspx
Hope the link is useful and its free
and if this post was helpful then please 'Mark as Answer' - many thanks
Sharker Khaleed MahmudSoftware Developer(MCP,MCTS,MCPD[web])
This credits that member, earns you a point and marks your thread as Resolved so we will all know you have been helped.
jakkaj
Participant
896 points
142 Posts
11-19-2008 3:21 AM |
There is no HTML control in Silverlight, but it doesnt need one :)
Silverlight runs in the Browser, so just grab a DIV using the HTML DOM Bridge, and overlay it on top of the Silverlight application in the right spot...
There are plenty of examples of this on the net... have a hunt around
TIP: You will need your Silverlight control to be running in Windowless mode.
Jordan.
amyo
3547 points
479 Posts
11-19-2008 3:23 AM |
Still there is no such control in Silverluight 2.0 and Toolkit
11-19-2008 3:27 AM |
neeraj.trivedi:Hi,I have a problem to load a pre defined HTML page (with JavaScript and frames) in my silverlight application and I did not find any control which can render HTML in silverlight. I am using silverlight 2.0 please let me know, if there is any silverlight control which is offering HTML rendering.Thanks in AdvanceNeeraj Trivedi
On the above post, If you need the source code do tell, i will post it on the forum
tanmoy.r
3580 points
708 Posts
11-19-2008 3:28 AM |
Please check this link.
This is not updated for SL 2 but with a minor changes u can use it.
party42
1076 points
329 Posts
11-19-2008 3:36 AM |
shamrat231:[Please check this site. http://www.vectorlight.net/silverlight_rich_textbox_demo.aspx Hope the link is useful and its free
[
dude nice job on that textbox! kudos for that, can you post the code ?
Amanda W...
All-Star
17234 points
1,466 Posts
11-21-2008 8:10 AM |
This is the rich text editor for silverlight and supports various well known features. You can try to download the Source Code here: http://www.codeplex.com/richtextedit
Wardy
71 points
51 Posts
04-16-2009 9:37 AM |
There's a difference between a "html editor" and a "richtext editor".
Think of richtext as an xml document in the developers predefined format, however using the functionality in that richtextbox control (Cheers Dan for making such an awsome control) ... you can export the richtext xml and then xsl transform it to html.
It's not the cleanest way I've ever seen it done but for free you can't expect the planet to bend over backwards just for you can you now ;)