How can I put two clock controls on the same page?
hi,
i tried place 2 of c# clock controls on page without luck. i figured duplicate clock code in index.html file, , give second object different name, , see 2 clocks.
does have idea how this? like, maybe 1 clock reading est, , other reading gmt.
thanks
you have create 2 silverlightcontrolhost div's. using same 1 in code above. way second 1 replaces first one.
something this:
<body > <div id="silverlightcontrolhost" class="silverlighthost" >
<div id="silverlightcontrolhost1" class="silverlighthost" > <script type="text/javascript"> createsilverlight('silverlightcontrolhost', 'silverlightcontrol'); </script> <script type="text/javascript"> createsilverlight('silverlightcontrolhost1', 'silverlightcontrol1'); </script> </div> </body>
Silverlight > Programming Silverlight with .NET – General
Comments
Post a Comment