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  |  

Affordable ASP.NET Hosting Service
  Ads  
Engage Software - Training Partner for DotNetNuke
 


  Sponsors  

Meet Our Sponsors

Webhost4life, specialists in DNN hosting
Mad Development is a full service interactive agency focusing on the merge of design, technology, e-commerce, and affiliate marketing by providing total website solutions.
SteadyRain
DataSprings - Great Ideas. Always Flowing.
R2integrated - formerly bi4ce
Jango Studios - Skins, Modules and Hosting for DotNetNuke
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Extend It! ( Pr...  Dotnetnuke Localization.GetString returns 'nothing'
Previous Previous
 
Next Next
New Post 6/19/2008 5:26 PM
Resolved
User is offline Ian Sampson
18 posts
www.glanton.com
10th Ranked




Dotnetnuke Localization.GetString returns 'nothing' 

I'm developing a custom login module for Dotnetnuke based on the existing Active Directory provider.

I want to return a success/ fail message back to the browser and have used the attached code. When debugging, strMessage returns nothing.

The file name is ADLogin.ascx and sits in "/DesktopModules/AuthenticationServices/ActiveDirectory"

When debugging, Me.LocalResourceFile resolves to  "/DesktopModules/AuthenticationServices/ActiveDirectory/App_LocalResources/ADLogin"

ADLogin is a copy of a page called "login.ascx' which sits in the same directory as ADLogin.ascx.

I don't understand why it's looking for ADLogin.ascx.resx in the ADLogin subfolder.

I have a copy of ADLogin.ascx.resx  in both ActiveDirectory/App_LocalResources/ADLogin and ActiveDirectory/App_LocalResources.

 
New Post 6/23/2008 9:24 AM
Accepted Answer 
User is offline Ian Sampson
18 posts
www.glanton.com
10th Ranked




Re: Dotnetnuke Localization.GetString returns 'nothing' 
Modified By Ian Sampson  on 6/23/2008 11:25:04 AM)

Turns out that all entries in the local RESX file have to have a ".Text" or ".Help" suffix. Live and learn!

Hope this helps someone else one day.

Ian

 
Previous Previous
 
Next Next
  Forum  General DotNetN...  Extend It! ( Pr...  Dotnetnuke Localization.GetString returns 'nothing'
 


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.

 


DeutschNetNuke = DotNetNuke in German
DeutschNetNuke provides all DotNetNuke related services in German (and English).
www.DeutschNetNuke.de
The Standard in Senior Housing Information
SNAPforSeniors provides consumers with free online resources to assist them with their search for senior housing
www.snapforseniors.com
DotNetNuke Web Hosting w/ ASP.NET 3.5
Unlimited email boxes, Unlimited databases, Unlimited domains. Plans start at $4.97
www.MyWinHosting.com

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