Skip to main content

Microsoft Silverlight

Answered Question Windows.Forms.Integration in Silverlight ApplicationRSS Feed

(0)

Hema123
Hema123

Member

Member

14 points

116 Posts

Windows.Forms.Integration in Silverlight Application

How can i add Windows.Forms.Integration in Silverlight Application?

i need to add this dll so that i can use

<WindowsFormsHost>

<WebBrowser>

</WindowsFormsHost>

</WebBrowser>

swildermuth
swildermuth

Star

Star

8320 points

1,546 Posts

Re: Windows.Forms.Integration in Silverlight Application

The Silverlight .NET Framework has no support for Windows.Forms so, no you can't.

(If this has answered your question, "Mark as Answer")

Shawn Wildermuth
C# MVP, MCSD, Speaker and Author

Silverlight 3 Workshop
Miami, FL: Oct 12-14th
Portlant, OR: Dec 2-4th
Atlanta, GA: Dec 7-9th
http://silverlight-tour.com

Hema123
Hema123

Member

Member

14 points

116 Posts

Re: Re: Windows.Forms.Integration in Silverlight Application

I need a control that removes all HTML tags in Silverlight.

Amanda Wang - MSFT
Amanda W...

All-Star

All-Star

17241 points

1,466 Posts

Answered Question

Re: Re: Windows.Forms.Integration in Silverlight Application

 Hi Hema123,

Hema123:
I need a control that removes all HTML tags in Silverlight.
 

There is not ready control to remove all HTML tags in Silverlight.

We would suggest that you can try to create a javscript function to remove all the Html tags, and then call this function in the silverlgiht to remove.

Amanda Wang
Microsoft Online Community Support

Please remember to mark the replies as answers if they help and unmark them if they provide no help.

Hema123
Hema123

Member

Member

14 points

116 Posts

Re: Re: Re: Windows.Forms.Integration in Silverlight Application

Can u pls give me the code for javascript

Amanda Wang - MSFT
Amanda W...

All-Star

All-Star

17241 points

1,466 Posts

Re: Re: Re: Windows.Forms.Integration in Silverlight Application

 You can try to google it.

There are many function to rmove Html tags using regexp and replace on the internet.

for example: http://gathadams.com/2008/07/31/remove-html-tags-and-javascript-from-pages/


Amanda Wang
Microsoft Online Community Support

Please remember to mark the replies as answers if they help and unmark them if they provide no help.
  • Unanswered Question
  • Answered Question
  • Announcement
Microsoft Communities