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

HomeHomeDevelopment and...Development and...Building ExtensionsBuilding ExtensionsModulesModulesSending PortalModuleBase Settings through WebService to SilverlightSending PortalModuleBase Settings through WebService to Silverlight
Previous
 
Next
New Post
4/4/2010 2:23 PM
 

Greetings,

What I'm trying to do is send the settings from my modules Settings.ascx file through to a Silverlight Project.

I've followed the tutorial at dnnsilverlight.adefwebserver.com/Silv... and everything works and I can send Userinfo through using the Usercontroller but I can't send settings data through.

I've tried creating a new PortalModuleBase but ofcourse it was empty.

I even looked for the moduleId in the source of the page and used this number to do PortalSettings.GetModuleSettings(moduleId) but this returned an empty hashtable.

I've been looking all day for this so I hope that somebody can resolve my problem or maybe give a work-around.

To be clear I've followed all the steps in the tutorial so you can see my code in the tutorial (since it's the same).

Thanx in advance!

 
New Post
6/18/2010 9:46 AM
 
So just save your settings into the Cache (since settings are global, don't save them into Session) and then use the same WebService that was created in the sample to return your settings values.  You can even return an entire Class back to Silverlight that way if you want with all the Settings nicely packaged inside.
 
Previous
 
Next
HomeHomeDevelopment and...Development and...Building ExtensionsBuilding ExtensionsModulesModulesSending PortalModuleBase Settings through WebService to SilverlightSending PortalModuleBase Settings through WebService to Silverlight


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