Silverlight 1.1 Alpha Refresh cannot use the inplaceInstallPrompt

I hope someone finds this useful (at least until 2.0 Beta which I reckon will be out by Mix ’08 in March), the Silverlight 1.1 Alpha Refresh does not appear to be able to use the “inplaceInstallPrompt” property.

        source: "Page.xaml",
        parentElement: document.getElementById("SilverlightControlHost"),
        id: controlID,
        properties: {
            width: "500",
            height: "500",
            version: "1.1",
            enableHtmlAccess: "true",
            inplaceInstallPrompt:true // <-- does not work         },

        events: {onLoad: OnLoaded}

Looking at the Silverlight.js, it overrides the setting by doing the following:


I was surprised not to find any articles on the web about this but there are a lot of misleading posts like this one (which not only suggests that it works but wraps the true as a string which doesn’t work in 1.0).

Also to get around my issue that createHostedObjectEx points to the wrong version of Silverlight (rumours are this will be fixed by MIX ’08), I simply used javascript to redirect to another html page that was a cut-down version of my main page. It still loaded the same application but in the Silverlight onLoad it executed some more javascript to go back to the main page.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s