I have a webpart that loads a xap through the SilverlightControls.Silverlight class. This webpart is then deployed to Sharepoint and displays my Silverlight 2.0 xaml. What I am wondering is whether the width property on the Silverlight class should be
able to display a width of 100%? Currently I can only give it a fixed pixel width. Prior to 2.0 I was using 1.1 and using javascript to load the xaml and I was able to get my web part to display at a width of 100%. Is this a bug or something that has not
been implemented yet?
bparkerhsd
Member
4 Points
10 Posts
SilverlightControls.Silverlight, Width property and SharePoint
Mar 14, 2008 05:52 PM | LINK
I have a webpart that loads a xap through the SilverlightControls.Silverlight class. This webpart is then deployed to Sharepoint and displays my Silverlight 2.0 xaml. What I am wondering is whether the width property on the Silverlight class should be able to display a width of 100%? Currently I can only give it a fixed pixel width. Prior to 2.0 I was using 1.1 and using javascript to load the xaml and I was able to get my web part to display at a width of 100%. Is this a bug or something that has not been implemented yet?