transparent silverlight app in contentplaceholder

  • Thread starter Thread starter Jens Büchert
  • Start date Start date
J

Jens Büchert

Hello NG,

i have an silverlight-app placed in a contentplaceholder on
an aspx website.
I want to make the sl-app transparent.

i tried this
--------------------------------------------------------------------------------------
<div id="SilverlightControlHost">
<object width="100%" height="100%"
type="application/x-silverlight-2"
data="data:application/x-silverlight-2," >
<param name="source" value="/ClientBin/SLTippspiel.xap"/>
<param name="onerror" value="onSilverlightError" />
<param name="allowtransparency" value="true" />
<param name="background" value="#00ffffff" />
<param name="isWindowless" value="true" />
<param name="minRuntimeVersion" value="3.0.40620.0" />
<param name="autoUpgrade" value="true" />
<a href="http://go.microsoft.com/fwlink/?LinkID=149156"
style="text-decoration: none;">
<img
src="http://go.microsoft.com/fwlink/?LinkId=108181"
alt="Get Microsoft Silverlight"
style="border-style: none"/>
</a>
</object>
<iframe id="_sl_historyFrame"
style='visibility:hidden;height:0px;width:0px;border:0px'>
</iframe>
</div>
 
Have a look at setting the canvas to transparent in the silverlight
application, that should carry to the html page.
 
Back
Top