-
Notifications
You must be signed in to change notification settings - Fork 0
Silverlight
Sevenate edited this page Oct 24, 2018
·
3 revisions
For html and body tags change css property overflow value from default auto to hidden
HTML page that host silverlight should have the following:
<!-- Last one in head tag-->
<script src="Scripts/MicrosoftAjax.js" type="text/javascript"></script><!-- ... Right after the object tag -->
<iframe id="_sl_historyFrame" style='visibility:hidden;height:0px;width:0px;border:0px'>
</iframe>Fix: add post-build task in Silverlight project:
<Target Name="AfterBuild">
<Copy Condition="" SourceFiles="bin\Debug\SampleSilverlight.xap" DestinationFolder="..\SampleSilverlight.Web\ClientBin" />
</Target>