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  |  

$4.95 Windows Hosting at Webhost4life.com
  Ads  
Webhost4Life - $4.95 Windows Hosting
 


  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...  Localization in DataGrid TemplateColumn Headers
Previous Previous
 
Next Next
New Post 3/9/2006 10:39 AM
User is offline Michael Flanakin
994 posts
www.michaelflanakin.com
7th Ranked




Localization in DataGrid TemplateColumn Headers 
I have a DataGrid that's rendering localized text perfectly on the first request; however, after a post-back, DNN is attempting to use the localized text as the localization key. For instance, if I have a column called BackColor with a corresponding key and value of BackColor.Header and Background. As I mentioned, the text renders as Background on the first request. On a post-back, however, the text renders as if it can't find the resource key - RESX:Background.Header. Logically, I understand what's going on; but is there any way to get around this? Has anyone else seen it before?

Michael Flanakin | Microsoft Consulting Services
www.michaelflanakin.com
 
New Post 3/9/2006 11:01 AM
User is offline Michael Flanakin
994 posts
www.michaelflanakin.com
7th Ranked




Re: Localization in DataGrid TemplateColumn Headers 
FYI: I tried this with one of the core modules that uses a DataGrid and got the same result. If the localized value isn't the same as the key name, the value isn't found.

Michael Flanakin | Microsoft Consulting Services
www.michaelflanakin.com
 
New Post 3/9/2006 11:43 AM
User is offline Michael Flanakin
994 posts
www.michaelflanakin.com
7th Ranked




Re: Localization in DataGrid TemplateColumn Headers 
Apparently, my BindData() method was being called twice. I haven't figured out where/why, yet, but I have narrowed the problem down to that. I moved my Localization.LocalizeDataGrid() call to the Page_Load() method to discover the problem.

Michael Flanakin | Microsoft Consulting Services
www.michaelflanakin.com
 
Previous Previous
 
Next Next
  Forum  General DotNetN...  Extend It! ( Pr...  Localization in DataGrid TemplateColumn Headers
 


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.

 


Aricie
Aricie is one of the French pioneers and experts in DotNetNuke technology.
www.aricie.com
AFUEGO!
Looking for Free DNN Hosting?
www.AFUEGO.com
Code 5 Systems, LLC.
The DNN Missing Link: A Form Module. Form Master 1.6 is an intuitive Form Creation Module at a great price. Quality Custom Module development, and DNN consulting services.
www.code5systems.com

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