|
|
 |  |  |
 |
|
 |
 |
|
|
|
|
| Author |
Messages |
|
Dustin
Posts:1
 |
| 09/06/2008 9:53 AM |
|
First of all, I think this system shows a lot of potential. With a community built up, this could really go far. But now to my question. I have a xap with my own Silverlight application in it. That application has custom templated controls. When I tried to load my application as a module, I had to configure it for the Page class instead of the App class (since App doesn't inherit from UserControl). So SLD threw an error saying it couldn't find the resource. Allowing modules to use custom templated controls is crucial. I love how you've used the standard Silverlight application packaging without modification. So maybe there's a way to read the XAML out of the App class and import it? Removing the style tags made the control work perfectly (although, a bit uglier). I was a little concerned from the demo modules that the resize window event wasn't propagating to the module, but that works perfectly too. Keep up the good work and I look forward to hearing from you. |
|
|
|
|
Michael Washington
Posts:21
 |
| 09/06/2008 10:21 AM |
|
Thank you for the feedback. We appreciate it. You are right about the templating issue. Please see this post: http://silverlightdesktop.net/Blog/tabid/56/EntryID/23/Default.aspx Now we DO need a "Real Solution". The current plan to to allow you to define and upload "skins". The module developer's would then be able to put things like: Button Style="{StaticResource Button}" and it would be based on the current skin that is in effect. This is basically the way a DotNetNuke skin works. Hopefully this will be available in October or November. It should not cause any breaking changes. |
|
|
|
|
|
| You are not authorized to post a reply. |
|
|
|
ActiveForums 3.7
|
|
|
|
|
 |  |  |
|