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  |  

DotNetNuke Marketplace
  Ads  
Active Modules -- Active Forums for DotNetNuke
 


  Sponsors  

Meet Our Sponsors

ExactTarget email software solutions
Merak Mail Server
WebSecureStores -- ASP.NET & DotNetNuke Hosting Solutions
FCKeditor Project
Salaro -- Skins and more
OnyakTech
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Localize It! (L...  Not getting values from local resources for module
Previous Previous
 
Next Next
New Post 11/13/2007 8:00 AM
User is offline SergNuke
5 posts
10th Ranked


Not getting values from local resources for module 
I have module in DesktopModules folder. In my user control used for view mode of module there is such line: and there is a folder App_LocalResources in the same place as control source file with resource file for this control. There is a resource key lblName and value Text in this file. But when I launch my web site I will have nothing. I am trying to use GetLocalResourceObject("lblName"); but have exeption: resource file not found. What is the matter?
 
New Post 11/13/2007 8:52 AM
User is offline Will Strohl
1368 posts
www.WillStrohl.com
6th Ranked




Re: Not getting values from local resources for module 

The way I always see it done is like this:

Localization.GetString("lblName.Text", Me.LocalResourceFile)

Will LinkedIn profile
DNN Training Videos | My Blog | DotNetNuke® Skins by SSD
Google Toolbar Button for DNN | Suggested DNN Upgrade Paths
ODUG Web Site
 
New Post 11/14/2007 12:26 AM
User is offline SergNuke
5 posts
10th Ranked


Re: Not getting values from local resources for module 
Thanks...that's right :)
 
New Post 11/14/2007 9:55 AM
User is offline Will Strohl
1368 posts
www.WillStrohl.com
6th Ranked




Re: Not getting values from local resources for module 

No problem.


Will LinkedIn profile
DNN Training Videos | My Blog | DotNetNuke® Skins by SSD
Google Toolbar Button for DNN | Suggested DNN Upgrade Paths
ODUG Web Site
 
Previous Previous
 
Next Next
  Forum  General DotNetN...  Localize It! (L...  Not getting values from local resources for module
 


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.

 


Customer Connect
Customer Connect provides cutting edge solutions that deliver sales, marketing and customer service results.
www.customer-connect.com
TechNexxus
Business process and technology sourcing solutions delivering superior people, process and value. We have used, and continue to use, DNN successfully in numerous client projects to deliver exceptional value. We are proud to support the DNN team and community.
www.technexxus.com
PartnerPoint | Community of Microsoft Partners
PartnerPoint is one of the largest and most active online communities of Microsoft Partners worlwide with over 8,000 members.
www.PartnerPoint.com

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