Wednesday, June 6, 2007

Silverlight plug-in Inplace and Indirect installation, How to

     This article explains how to install silverlight plug-in with different modes and alog explains the silverlight devloper that how to configure silverlight application installation modes.

     When users wants to see web applications built with silverlight technology in web browsers. web browsers should contain the silverlight plug in.

     If browser does not contain the silverlight plug in, then user will not able to see some of the the web page parts which contains the silverilght componets. In that parts user will get an image to install silverlight plug in. This is called installation of silverlight.

We can install this silverlight plug-in in two ways
Modes of silverlight plugin installation
1. Inplace Installation (aka 'Direct')
2. Indirect Installation.

     If silverlight application is configured with Inplace:false Installation mode user gets the image as following way. To install silverlight plug-in user has to click the image. If he clicks the image it redirects to www.microsoft.com/silverlight site page. there user can download the silverlight plug-in and install it. Here user has to accept the terms and conditions of silverlight plug-in installation. After that he ables to visits the web pages built with silverlight technology.

     In second method Indirect Installation If gets the following image. If user clicks the image he/she will not be redirected to any other page. Just Silverlight plug-in download will start. In this, Image itself contains the Licence agreement and link to licence. It says that By clicking Get Microsoft Silverlight you accept the silverlight license agreement.

 

Configuring the Silverlight installation modes:

When we are building our silverlight web application, we can use the 'inplaceInstallPrompt' property in our call to Sys.Silverlight.createObject and set it to true or false.

Configuring the silverlight indirect installation mode:

function createSilverlight()
{
Sys.Silverlight.createObject(
"plugin.xaml",// Source property value.
parentElement,// DOM reference to hosting DIV tag.
"myControl", // Unique control id value.
{ // Control properties.
width:'1024',// Width of rectangular region of
control in pixels.
height:'530',// Height of rectangular region of
control in pixels.
inplaceInstallPrompt:false,// Determines whether to

display in-place install

prompt if invalid version

detected.
background:'white', // Background color of control.
isWindowless:'false',// Determines whether to display
control in Windowless mode.
framerate:'24',// MaxFrameRate property value.
version:'0.9'// Control version to use.
},
{
onError:null,// OnError property value -- event
handler function name.
onLoad:null // OnLoad property value -- event
handler function name.
},
null); // Context value -- event handler function name.
}
 

Configuring the silverlight inplace installation mode:

     The script will be same as you see in about 
script. only the attribute inplaceInstallPrompt
value should be true here.

Resource on this topic Silverlight Install Modes

15 comments:

Godness said...

truegamingpro26
truegamingpro27
truegamingpro28
truegamingpro29
truegamingpro30

garin said...

This article is very good. We would like to leave a good article. To read more articles, click here >> ข่าวบอล

โปรแกรมฟุตบอล

เชลซี

chelsea

ข่าวเชลซี

boy said...

This is my blog. Click here.
chateaubriantvoltigeursfoot"
stateronline"

โรซ่า said...

Hello, we have a game to recommend.

รีวิวอุปกรณ์กีฬา
สมัครเว็บพนันบาคาร่า
แทงบอล-สูง-ต่ำ
หวยรัฐบาล-เล่นยังไง
ufaslot

Thank you for your interest."

แม็ก said...

สล็อตออนไลน์If you set out to make me think today; mission accomplished! I really like your writing style and how you express your ideas. Thank you.

กี้ said...

สล็อตแตกง่ายI am continually amazed by the amount of information available on this subject. What you presented was well researched and well worded in order to get your stand on this across to all your readers.

แม็ก said...

สล็อต 999I felt very happy while reading this site. This was really very informative site for me. I really liked it. This was really a cordial post. Thanks a lot!.

แม็ก said...

สล็อตวอเลทPositive site, where did u come up with the information on this posting?I have read a few of the articles on your website now, and I really like your style. Thanks a million and please keep up the effective work.

กี้ said...

เว็บสล็อตWow, cool post. I'd like to write like this too - taking time and real hard work to make a great article... but I put things off too much and never seem to get started. Thanks though.

แม็ก said...
This comment has been removed by the author.
กี้ said...

เว็บตรงสล็อตGreat survey, I'm sure you're getting a great response.

แม็ก said...

บา คา ร่า วอ เลทThis is such a great resource that you are providing and you give it away for free. I love seeing blog that understand the value of providing a quality resource for free.

แม็ก said...

สล็อตเว็บใหญ่I have read all the comments and suggestions posted by the visitors for this article are very fine,We will wait for your next article so only.Thanks!

กี้ said...

เกมสล็อตPretty good post. I just stumbled upon your blog and wanted to say that I have really enjoyed reading your blog posts. Any way I'll be subscribing to your feed and I hope you post again soon. Big thanks for the useful info.

แม็ก said...

บาคาร่าวอเลทI have read all the comments and suggestions posted by the visitors for this article are very fine,We will wait for your next article so only.Thanks!