Search KB Filter article types
Presentation layers CodeSample - Using DHTML presentation show Silverlight within HTMLbox in a dialog form
Categories: DHTML, Silverlight
Tags: Developers, 1. Beginner, Integration, Silverlight, Pre v6.3, v6.3, 2. Intermediate, 3. Advanced
Revision: 1
Posted: 25/Nov/2009
Updated: 23/July/2010
Status: Publish
Types: Code

This article will have a few sections added to it soon, based on the following article type skeleton: CodeSample
Overview

When you open your application in a browser, it will be rendered using the presentation layer you use as the extension of your form, usually .wgx for DHTML and .swgx for Silverlight.

This CodeSample shows that you can actually use the best of both worlds, by opening a Silverlight form within an HTMLBox in an application using DHTML presentation.

The demo application

The application is very simple, so no source code is presented in the article.

Pay special attention to the usage of the SilverlightExtender, which is used to set some Silverlight specific properties, like rotation. When the form is rendered in DHTML presentation, those properties have no effect, only when using Silverlight presentation.

The demo application can be downloaded downloaded here . The application is supplied in Visual Studio 2005 and 2008 formats both in C# and VB.NET.

About the author

Related Articles

DHTML  
Title Update Author
The following code integrates google maps into Visual WebGui by creating a GoogleMap control which can be used as any Visual WebGui control.
Tags: Architects, Developers
05/Jan/2007    2007/01/05
Tags: Architects, Developers, 1. Beginner, 2. Intermediate, 3. Advanced, DHTML, v6.3, v6.4 and Later
30/Oct/2010    2010/10/30
Tags: Architects, Developers, 1. Beginner, 2. Intermediate, 3. Advanced, Integration, Pre v6.3, v6.3, v6.4 and Later
14/Nov/2010    2010/11/14
Tags: Architects, Developers, 2. Intermediate, 3. Advanced, Pre v6.3, v6.3, v6.4 and Later
23/July/2010    2010/07/23
Tags: Architects, Developers, 1. Beginner, 2. Intermediate, 3. Advanced, Pre v6.3, v6.3, v6.4 and Later
23/July/2010    2010/07/23
Tags: Architects, Developers, 1. Beginner, 2. Intermediate, 3. Advanced, Pre v6.3, v6.3, v6.4 and Later
23/July/2010    2010/07/23
.NET HTML5 Web, Cloud and Mobile application delivery | Sitemap | Terms of Use | Privacy Statement | Copyright © 2005-2012 Visual WebGui®       Visual WebGui weblog on ASP.NET Gizmox Blog Visual WebGui Group on LinkedIn Visual WebGui updates on Twitter Visual WebGui Page on Facebook Visual WebGui YouTube Channel Visual WebGui Platform News RSS