Hi all,
I just migrated one of my old silverlight 1.1 app to 2.0 level. Application has two silverlight controls on same ASP .Net page.
But after the migration one of the controls has stopped displaying on the page. Although both of them loads successfully and all breakpoints were reached still the second one never shows up on the screen. The one which loads first is always displayed and other one works in the background.
I swamped both controls but still the first one (which loads first) shows up and other one executes in the background. Calling code is given below: -
<div id="divID" class="silverlightHost" style="position:absolute;" >
<asp:Silverlight ID="ctlMaster" runat="server"
Source="~/ClientBin/XYZ.xap"
Version="2.0" Width="100%" Height="100%"
EnableHtmlAccess="true"
Windowless="true" OnPluginLoaded="onMasterLoad" BackColor="#00000000" OnPluginError="onError" />
</div>
<div id="divID2" class="silverlightHost">
<asp:Silverlight ID="ctlScheduler" runat="server"
Source="~/ClientBin/ABC.xap" BackColor="#00000000"
Version="2.0" Width="100%" Height="100%"
EnableHtmlAccess="true" Windowless="false" OnPluginLoaded="onLoad" OnPluginError="onError" />
</div>
In the above scenerio, ctlMaster is displayed. If i swap ctlMaster and ctlScheduler's position then ctlScheduler is displayed.
Please helpppppp,
Sid