Skip to main content
Home Forums General Silverlight Getting Started <asp:Silverlight> transparent
5 replies. Latest Post by Ryan7979 on April 18, 2008.
(0)
pefc
Member
100 points
49 Posts
01-21-2008 7:15 AM |
How do I get the asp:Silverlight control transparent? If it´s created with the createSilverlight() function in a regular.html file, I can get it to work, but not in a .aspx page with asp:Silverlight. Here´s my code:
swildermuth
Star
8320 points
1,546 Posts
01-21-2008 5:45 PM |
You sure the main canvas in your Page.xaml is transparent?
01-22-2008 2:24 AM |
Yes.
<
>
tejasvi....
136 points
30 Posts
01-22-2008 4:23 AM |
You need to use PluginBackColor="Transparent" property to set the background color to transparent
As per ASP.NET 3.5 Extensions Preview,
System.Web.UI.SilverlightControls.Silverlight.PluginBackColor Property :Gets or sets the color value to set for the Silverlight host background
01-22-2008 4:45 AM |
Thanks, that works!
Ryan7979
14 points
22 Posts
04-18-2008 5:31 AM |
great!
the same problem at testpage.html, how do I set these testpage.html ?