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  |  

The best choice for your web site host, email hosting, and domain registration.
  Need Help?  
Professional technical support for DotNetNuke is available from DotNetNuke Corporation.
 


  Ads  
WebHostForAsp.net
 


  Sponsors  

Meet Our Sponsors

Red-Gate Software
MaximumASP
SourceGear - Tools for Developers
.: CounterSoft :.
telerik
ExactTarget email software solutions
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Localize It! (L...  meta:resourcekey / resourcekey checkboxlist stumped.
Previous Previous
 
Next Next
New Post 4/11/2008 12:48 PM
Unresolved
User is offline chatters
2 posts
10th Ranked


meta:resourcekey / resourcekey checkboxlist stumped. 

I am stummped on how DNN Is handling the ResourceKey.
I have already implement the resource files throughout a DNN site.

But I cannot get the resourcekey to work with a checkbox list within a custom module.

example code:
<asp:CheckBoxList ID="chklApplicationCat" runat="server" CssClass="sfEntry_CheckBoxList" meta:resourcekey="chklApplicationCatResource1">
        <asp:ListItem  meta:resourcekey="ListItemResource1.Value" ></asp:ListItem>
        <asp:ListItem  meta:resourcekey="ListItemResource2"></asp:ListItem>
        <asp:ListItem  meta:resourcekey="ListItemResource3"></asp:ListItem>
        <asp:ListItem  meta:resourcekey="ListItemResource4"></asp:ListItem>
        <asp:ListItem  meta:resourcekey="ListItemResource5"></asp:ListItem>
    </asp:CheckBoxList>

 

Note: I attempted with resourceky="" instead of meta:resourcekey="" still with no luck.

the resx file is named the same way as the control.
My resx file looks like this

......
<data name="ListItemResource1.Text" xml:space="preserve">
    <value>test</value>
  </data>
  <data name="ListItemResource1.Value" xml:space="preserve">
    <value>test</value>
  </data>
......

I can find the resource file through Host -> Languages -> Language editor and edit it. But it seems the control is not loading the resx file or its values are being ignored..
I've read all the PDF docs as I stated I used resx files in DNN for simple label text and valdation error message replacement. Wondering why I cannot do this in DNN on checkboxes?


Thanks in advance!

 
New Post 4/11/2008 5:02 PM
User is offline William Severance
582 posts
www.wesnetdesigns.com
8th Ranked




Re: meta:resourcekey / resourcekey checkboxlist stumped. 
Modified By William Severance  on 4/11/2008 8:05:32 PM)

The CheckBoxList is not among those that are localized. I recall participating in a thread about this issue a few months back. Finally found it:

http://www.dotnetnuke.com/Community/Forums/tabid/795/forumid/77/threadid/196659/scope/posts/Default.aspx

 Also note (though not the problem with CheckBoxList localization), the attribute to use is 'resourcekey' not 'meta:resourcekey'.


Bill, WESNet Designs
 
New Post 4/14/2008 7:03 AM
User is offline chatters
2 posts
10th Ranked


Re: meta:resourcekey / resourcekey checkboxlist stumped. 

hm.. that is what I was afraid of.

Thank you for the thread that was very helpful!

 
New Post 4/19/2008 12:51 PM
User is offline Brandon Haynes
461 posts
everysport.net
8th Ranked


Re: meta:resourcekey / resourcekey checkboxlist stumped. 

Hi Chatters,

If you're stuck with a lot of already-developed usercontrols, there is also a way to re-enable ASP.NET localization to run side-by-side with DNN's implementation.  Generally, however, this should be a course of last resort.

I only mention it here as an additional option, in case the solutions mentioned in the other thread do not solve your problem.  Let me know if you are interested in going this route.

Brandon


Brandon Haynes
BrandonHaynes.org
 
Previous Previous
 
Next Next
  Forum  General DotNetN...  Localize It! (L...  meta:resourcekey / resourcekey checkboxlist stumped.
 


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.

 


Windsor Management Group
Fund Accounting Software for K12 Education.
Infinitevisions.com
Convert Visitors to Customers
In order to bring value to your users, we must first understand them. VIVIDSITES will help you build a custom web application and interactive marketing tools that your users will thank you for. We marry high-end creative with head banging technology to entertain and convert visitors into paying customers. Call 314.514.0505 or visit us at http://www.vividsites.com to find out how.
- V I V I D S I T E S -
Gearworx Web Hosting
As a premier provider of Web Hosting, Private/White Label hosting, Server Colocation, Dedicated Server, and other Managed Services, Gearworx offers an array of services designed to more effectively manage strategies driving businesses on the Web. Headquartered in Fremont, California our state of the art tier one data centers and distributed managed services environment enables Gearworx to offer your business enterprise level solutions through simplified processes.
Gearworx Web Hosting

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