c# - How to change the size of a Silverlight object in asp? -
c# - How to change the size of a Silverlight object in asp? -
i have implemented photo gallery in asp website. code looks this:
object id="silverlightobject" data="data:applicaation/x-silverlight-2," type="application/x-silverlight-2" class="obiect"> param name="source" value="clientbin/galery.xap"
i need alter object size dynamically aspx.cs
code page on condition, can't access object (something if(a>b) object.height=500
).
you need runat="server"
attribute on tag accessible server code. utilize id of element, not tag name:
silverlightobject.height = 500;
c# asp.net silverlight
Comments
Post a Comment