Skip to main content
Home Forums Silverlight Programming Visual Studio & Silverlight Development Tools in my blend 3 my application is full screen but when I exported to web3, it is not
2 replies. Latest Post by Mog Liang - MSFT on November 4, 2009.
(0)
banderas...
Member
9 points
56 Posts
11-01-2009 1:29 PM |
Hi everyone I inserted my silverlight application into my html page in web 3 but in blend 3 my application full with browser but in the web 3 doesnt look full how come even I put width and height auto. anyone can help me please
sasideva
240 points
58 Posts
11-02-2009 3:35 AM |
Can you post your code?
Mog Lian...
All-Star
15960 points
1,551 Posts
11-04-2009 2:35 AM |
Hi,
When you say full screen, do you mean let silverlight application fill the whole browser window area?
If so, please check your html property setting. here is an sample
<body> <form id="form1" runat="server" style="height:100%"> <div id="silverlightControlHost"> <object data="data:application/x-silverlight-2," type="application/x-silverlight-2" width="100%" height="100%"> <param name="source" value="ClientBin/SilverlightApplication7.xap"/> <param name="onError" value="onSilverlightError" /> <param name="background" value="white" /> <param name="minRuntimeVersion" value="3.0.40624.0" /> <param name="autoUpgrade" value="true" /> <a href="http://go.microsoft.com/fwlink/?LinkID=149156&v=3.0.40624.0" 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> </form> </body>