Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

part of app written in silverlight is not loading in version 4

  • 1 reply
  • 4 have this problem
  • 4 views
  • Last reply by cor-el

more options

A web app in Microsoft.Net also uses Silverlight. It no longer loads with the app - space is blank. Code is below:

<div id="Div1">
 <object data="data:application/x-silverlight-2," type="application/x-silverlight-2" id="stickyNote" height="100%" width="100%">
  <param name="source" value="ClientBin/NoteWebServicesApp.xap">
  <param name="onError" value="onSilverlightError">
  <param name="background" value="white">
  <param name="minRuntimeVersion" value="3.0.40624.0">
  <param name="autoUpgrade" value="true">
  <param id="ctl00_StickyNote_prmInitParams" name="InitParams" value="UserID=5,CompanyID=1">
  <a href="http://go.microsoft.com/fwlink/?LinkID=149156&amp;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="Iframe1" style="visibility: hidden; height: 0px; width: 0px; border: 0px none;"></iframe></div>
A web app in Microsoft.Net also uses Silverlight. It no longer loads with the app - space is blank. Code is below: <pre><nowiki><div id="Div1"> <object data="data:application/x-silverlight-2," type="application/x-silverlight-2" id="stickyNote" height="100%" width="100%"> <param name="source" value="ClientBin/NoteWebServicesApp.xap"> <param name="onError" value="onSilverlightError"> <param name="background" value="white"> <param name="minRuntimeVersion" value="3.0.40624.0"> <param name="autoUpgrade" value="true"> <param id="ctl00_StickyNote_prmInitParams" name="InitParams" value="UserID=5,CompanyID=1"> <a href="http://go.microsoft.com/fwlink/?LinkID=149156&amp;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="Iframe1" style="visibility: hidden; height: 0px; width: 0px; border: 0px none;"></iframe></div> </nowiki></pre>

Modified by cor-el

All Replies (1)

more options

Looks like a problem with the data attribute:

data="data:application/x-silverlight-2,"

Change that to the value of the source param:

data="ClientBin/NoteWebServicesApp.xap"

A good place to ask questions and advice about web development is at the mozillaZine Web Development/Standards Evangelism forum.
The helpers at that forum are more knowledgeable about web development issues.
You need to register at the mozillaZine forum site in order to post at that forum.

See http://forums.mozillazine.org/viewforum.php?f=25