Skip to main content

Hans Muster's Library tagged blend   View Popular

10 Feb 09

CodeProject: Blending HTML into Silverlight pages seamlessly. Free source code and programming help

The scenario that this article solves is the following: I am developing a simple image viewer page with a menu on the top-left. The menu is developed using Silverlight. By clicking the menu button, users can view a resizable image on the main page. In addition to showing an image, I also want the main page to be able to show an HTML content. Moreover, I want to use a Silverlight control to show the image or the HTML content.

There are two issues to be solved:

1. There is no existing HTML Silverlight control that can render an HTML page.
2. How to route the OnClick event from the Menu control to the Image control.

In the following sections, I will show you an idea of solving the above problems.

I assume readers are familiar with ASP.NET/C#, Silverlight, Visual Studio, JavaScript, and DHTML.

www.codeproject.com/...silverlighthtmlblend.aspx - Preview

silverlight codeproject blend codesnippet embedding html

1 - 2 of 2
Showing 20 items per page

Diigo is about better ways to research, share and collaborate on information. Learn more »

Join Diigo