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/10/2008 12:18 AM
 

Darn I had the MIME type set to application/x-silverlight-app so I changed it to application/x-silverlight-2b1 but it still didn't work. How did you change the Doc type? What doesn't make sense is that This page:

http://www.adefwebserver.com/DotNetNukeHELP/Misc/Silverlight/HelloWorld/DNNCode.htm

was created by DNN and it works when running outside of DNN. Will my module show on your site?



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

The doco says that silverlight 1.1 & 2.0 don't need any features from IIS e.g the System.Web.UI.SilverlightControls.Silverlight control inherits from System.Web.UI.Controls.WebControl.

I am able to show my DNN module in my test solution but it will not appear on a dnn page.

Here is the source for my page with my module on it that is trying to show 2 Silverlight 2.0 controls.

I have updated my MIME extensions as described above for .xap files. I was running Silverlight 1.1 but now have upgraded to Silverlight 2.0. I am using a silverlight link in my project to generate the .xap files.

I have spent about 2 weeks on this now and no luck showing the silverlight controls.

 (Forum Moderator removed code due to formatting errors. Please only post a relevant snippet)

This control provides a way to integrate Silverlight in an ASP.NET Web page. This control inherits from System.Web.UI.Controls.WebControl, and implements System.Web.UI.IScriptControl. The Silverlight server control uses XAML in combination with the Silverlight plug-in and the JavaScript Sys.UI.Silverlight.Control class. Unlike the MediaPlayer server control, the Silverlight server control is generic and is not designed only to manage media files. For more information see, the ASP.NET 3.5 Extensions Preview .

 
New Post
3/10/2008 9:11 AM
 

I followed the directions here to change the DOC type to "DTD XHTML 1.0 Strict":

http://blogs.snapsis.com/PermaLink,guid,739278ef-6d9e-4e73-804b-45627dcc6256.aspx

and it still doesn't work for me :(



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

actually Timo mentioned that setting it via code no longer seemed to work even though the variables still public. I haven't looked at it, but suspect some of the changes for the correct localization that were added by someone else a few versions back "broke" this. I'd recommend you use the skinname.doctype.xml method instead (http://www.dotnetnuke.com/Community/Blogs/tabid/825/EntryID/1226/Default.aspx)

Cathal


Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
 
New Post
3/10/2008 11:09 AM
 

I have a file in the skins folder named the same as the skin you are using (ie. blue.DOCTYPE.xml) with the following content.  There is code in default.aspx to read this if it is there.  Be warned that it will break a large % of legacy skins.  Generally you have to play around with the skin file and get it css compliant.  You can view the sl control at www.207vista.net (The Weather)

<SkinDocType>

<![CDATA[
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  ]]>

  </SkinDocType>

Keith Monroe

 
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