Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

telerik -- supercharge your DNN websites
  Ads  
OnyakTech
 


  Sponsors  

Meet Our Sponsors

Jango Studios - Skins, Modules and Hosting for DotNetNuke
eUKhost.com is commited to offer exceptional UK Windows Web Hosting solutions with quality 24x7 technical support.Our plans support ASP.Net, ASP, ASP.NET Ajax extensions, XML, MSSQL, MySQL, PHP,DNN, multiple domains and Shared SSL as standard.
SmarterTools
Verndale
The Official Microsoft ASP.NET Website
Portal Webhosting - Hosting For Developers
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Extend It! ( Pr...  Retriving properties set for Custom Data Providers
Previous Previous
 
Next Next
New Post 5/27/2008 3:06 AM
Resolved
User is offline r_honey
133 posts
9th Ranked


Retriving properties set for Custom Data Providers 

I am preparing a custom Profile Provider. The behaviour of the Provider can be adjusted by setting configuration values (in the form of attributes) in the <add> element of web.config where the provider has been defined (e.g. like properties are defined for the Membership Provider)

Does DNN provides any convinient method to a Provider to retrieve attributes defined in the web.config for the same Provider, or I will have to parse web.config myself???

 
New Post 5/28/2008 4:14 AM
Accepted Answer 
User is offline r_honey
133 posts
9th Ranked


Re: Retriving properties set for Custom Data Providers 

Okay, I found a solution to this one also. There's a

DotNetNuke.Framework.ProviderConfiguration

class, that can help you to retrieve configuration items set in web.config.

Use its GetProviderConfiguration method, & Providers property to get access to any desired Provider & its configuration. Also, remember that GetProviderConfiguration requires the type of Provder (profiles, data, membership etc.) which you are looking out for!!!

 
Previous Previous
 
Next Next
  Forum  General DotNetN...  Extend It! ( Pr...  Retriving properties set for Custom Data Providers
 


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, 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 DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

 


UK - DotNetNuke providers
UK providers of DNN module development and skin package design. Oxford Information Labs provides cost-effective solutions for businesses and organisations specialising in Skin design and bespoke module development.
www.oxil.co.uk
TronixSoft
Hosting for local businesses that want more from their websites.
www.TronixSoft.com
The Forerunner Network
The Forerunner Network consists of a group of Dynamic Website & Interactive Membership Portal hosting services that are managed by Forerunner Communications. Our services span a wide range of markets and enable individuals, organizations and businesses to build and manage dynamic, interactive portals and websites.
The Forerunner Network

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP