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/12/2008 2:16 AM
 

Thank you for quick respond and working solution :)

There are two Web User Controls in zip file you provided: View.ascx and View2.ascx. There first works great but the second doesn't and it is implemented exactly as I implemented my dnn module. It seems that the second approach should work also as it work launched directly, not as dnn module. Is there any explanation for that?

 
New Post
3/12/2008 8:35 AM
 

Cadla wrote

Thank you for quick respond and working solution :)

There are two Web User Controls in zip file you provided: View.ascx and View2.ascx. There first works great but the second doesn't and it is implemented exactly as I implemented my dnn module. It seems that the second approach should work also as it work launched directly, not as dnn module. Is there any explanation for that?

That other file was a previous failed attempt. I should have cleaned it up but didn't have time and wanted to get something out there before people got frustrated.



Michael Washington
http://ADefWebserver.com
www.ADefHelpDesk.com
A Free Open Source DotNetNuke Help Desk Module
 
New Post
3/12/2008 8:37 AM
 

Alistair Rigney wrote

Hi Guys,

             Sorry my silverlight 2.0 content is still not showing in my module. ...\

 

Have you tried installling the sample module?

http://dnnsilverlight.adefwebserver.com/Portals/0/Silverlight2_HelloWorld_01.00.00_Install.zip



Michael Washington
http://ADefWebserver.com
www.ADefHelpDesk.com
A Free Open Source DotNetNuke Help Desk Module
 
New Post
3/14/2008 2:39 AM
 

Thanks butStill no luck, I have created a new DNN installation with 4.8.1 and set my "Horizontal Menu - Fixed Width.doctype.xml" skin doc type for my skin to

 

<SkinDocType><![CDATA[<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">]]></SkinDocType>

This code shows that AJAX is enabled and installed ok and I can see the correct doc type for the page in the source for the page.

protected void Page_Load(object sender, EventArgs

e){  if (DotNetNuke.Framework.AJAX

.IsEnabled())

{Label1.Text =

 "Enabled";}

 if (DotNetNuke.Framework.AJAX

.IsInstalled())

{Label2.Text = 

"Installed";

DotNetNuke.Framework.AJAX.RegisterScriptManager();

DotNetNuke.Framework.AJAX.WrapUpdatePanelControl(Silverlight2, true

);

}

}

My control to display the content is

<%

<ContentTemplate>

<div style="

<asp:Silverlight ID="Silverlight2" runat="server"

Source="~/ClientBin/SLTest2.xap"

Version="2.0" Width="100%" Height="100%" ScaleMode="Stretch" OnPluginError="onSilverlightError" Enabled="true" EnableHtmlAccess="true" Visible="true" />

</div>

</ContentTemplate>

</asp:UpdatePanel>--

 My SL content just shows a textblock

<

 </

 

UserControl x:Class="SLTest2.Page"xmlns="http://schemas.microsoft.com/client/2007"xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"Width="400" Height="300"><Grid x:Name="LayoutRoot" Background="White"><TextBlock Text="Test"></TextBlock></Grid>UserControl>

--<asp:UpdatePanel ID="UpdatePanel1" runat="server">height:100%;width:100%">%><div align="left"><asp:Silverlight ID="Silverlight2" runat="server"Source="~/ClientBin/SLTest2.xap"Version="2.0" Width="100%" Height="100%" ScaleMode="Stretch" OnPluginError="onSilverlightError" Enabled="true" EnableHtmlAccess="true" Visible="true" /></div>

 

Still the content wont show in DNN, I have started testing the binding of the controls and doing xaml graphics with the new Expression Blend 2 preview, everything works in my test module solutions.

Can you post a complete installable module and source code so I can check my environment.

totally wrecked,

                  Alistair

 
New Post
3/14/2008 7:45 AM
 

Alistair Rigney wrote

Can you post a complete installable module and source code so I can check my environment.

You can find that here:

http://dnnsilverlight.adefwebserver.com/Portals/0/Silverlight2_HelloWorld_01.00.00_Install.zip



Michael Washington
http://ADefWebserver.com
www.ADefHelpDesk.com
A Free Open Source DotNetNuke Help Desk Module
 
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