Skip to main content

Microsoft Silverlight

Answered Question HTML in textblock or another silverlight 2.0 controlRSS Feed

(0)

ArdaCetinkaya
ArdaCeti...

Member

Member

1 points

3 Posts

HTML in textblock or another silverlight 2.0 control

I am trying to show an html output in my sliverlight application. But I think current controls can not do this or I do not know. I hope I do not know...

I am getting some kind of text data from DB includes some html tags like <img>,<p>....

How can I render this html data in silverlight?

Any help would be great...

sladapter
sladapter

All-Star

All-Star

17441 points

3,172 Posts

Answered Question

Re: HTML in textblock or another silverlight 2.0 control

Someone posted HTMLTextBlock code that you can try. It's not a build-in control in beta 1. Hopefullly they will include one in beta 2.

http://blogs.msdn.com/delay/archive/2007/09/10/bringing-a-bit-of-html-to-silverlight-htmltextblock-makes-rich-text-display-easy.aspx

 

sladapter
Software Engineer
Aprimo, Inc

Please remember to mark the replies as answers if they answered your question

  • Unanswered Question
  • Answered Question
  • Announcement
Microsoft Communities