transparent silverlight app in contentplaceholder

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>
 
A

Alvin Bruney - ASP.NET MVP

Have a look at setting the canvas to transparent in the silverlight
application, that should carry to the html page.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,768
Messages
2,569,575
Members
45,053
Latest member
billing-software

Latest Threads

Top