Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Has anyone been able to make a Silverlight 2.0 application work with DotNetNuke?Has anyone been able to make a Silverlight 2.0 application work with DotNetNuke?
Previous
 
Next
New Post
3/14/2008 3:58 PM
 

All,

FYI I noticed an interesting post earlier about working around the need for the XAP type being registered in the web server mappings. If you rename the xap to zip and alter your applications.xaml file theres no need for the mapping - see http://blogs.msdn.com/brada/archive/2008/03/14/using-silverlight-2-on-a-production-web-server.aspx for details.

Cathal


Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
 
New Post
3/18/2008 9:46 PM
 

Hi Guys,

                  I got my silverlight 2.0 controls to display now. I am using separate solutions for my DNN modules, the problem was that the home directory of the module web site was not the same as the DNN solution. I just removed the ~ from the ClientBin and it picks up my SL content. I am using IIS 5.1 not 6 (as I am developing on Windows XP) DNN 4.8.1, a doctype for my skin. I am going to try and use the Web Client Software Factory to make my DNN modules now.

THANKS FOR YOUR HELP!! Hope the easter bunny is good to you.

Regards,

                  Alistair 

 
New Post
3/20/2008 2:12 AM
 

I also had a problem with the size of my silverlight controls, I would like my silverlight page to resize according to its content and the DNN module container to resize to fit this content as well.  I had the size of the silverlight controls as

<

div style="height:100%;"><asp:Silverlight ID="Silverlight1" runat="server" Source="ClientBin/OperatorAccountDetailsSilverlightApplication.xap" Version="2.0" Width="100%" Height="100%" ScaleMode="Stretch" PluginBackground="Transparent" Windowless ="true" OnPluginError="onSilverlightError" Enabled="true" EnableHtmlAccess="true" Visible="true" />

 

</div>

But this will not show unless I set the width and height to a specific pixel size such as Width="700px" Height="300px"

My XAML is like this where again I have to set the size, show can I make all the sizing fully automatic. I realize that some SL controls should be set to a fixed size so that they do not resize all the time, like textboxes should not appear to be small when the have no content.

<

UserControl x:Class="OperatorAccountDetailsSilverlightApplication.Page"

 

 

 

xmlns="http://schemas.microsoft.com/client/2007"xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d" Width="700" Height="304">

 

<UserControl.Resources>

 

<SolidColorBrush x:Key="Brush1" Color="#FF000000"/>

 

<SolidColorBrush x:Key="Brush2" Color="#FFFFFFFF"/>

 

</UserControl.Resources>

 

<Grid x:Name = "LayoutRoot" Height="304" Width="700">

 

 

 

 
New Post
3/23/2008 8:52 AM
 

I realize you may have figured this out already, but you may get additional ideas out of this MSDN article

http://msdn2.microsoft.com/en-ca/magazine/cc135987.aspx


Dwayne J. Baldwin
 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Has anyone been able to make a Silverlight 2.0 application work with DotNetNuke?Has anyone been able to make a Silverlight 2.0 application work with DotNetNuke?


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out