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  |  

Maximum ASP
  Ads  
Active Modules -- Active Forums for DotNetNuke
 


  Sponsors  

Meet Our Sponsors

WebSecureStores -- ASP.NET & DotNetNuke Hosting Solutions
FCKeditor Project
Salaro -- Skins and more
OnyakTech
CrystalTech Web Hosting™
Webhost4life, specialists in DNN hosting
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Extend It! ( Pr...  How to localize DropDownList control?
Previous Previous
 
Next Next
New Post 7/13/2008 3:56 AM
User is offline ying
57 posts
10th Ranked


How to localize DropDownList control? 

Hello!

I have a module,it works fine.but now I want to use it in non-english environment,then I find that I cant localize the dropdownlist control.

at first,the control:
----------------------------------------------------
<asp:DropDownList ID="DropDownList1" runat="server">
    <asp:ListItem Value="value1">name1</asp:ListItem>
    <asp:ListItem Value="value2">name2</asp:ListItem>
</asp:DropDownList>
-----------------------------------------------------
I change it to:
-----------------------------------------------------
<asp:DropDownList ID="cT3" runat="server">
    <asp:ListItem resourcekey="value1">name1</asp:ListItem>
    <asp:ListItem resourceKey="value2">name2</asp:ListItem>
</asp:DropDownList>
-----------------------------------------------------
I write a local resx file to it,now it looks well,and the page can show the non-english correct.But when I post the form,there is a error.

I 'm sure the error occured by the local language,when I change the value1.Text to english,it's OK.when value1.Text to non-english language,there is error.

How can I do???

Thanks!!!

 

 

 
New Post 7/24/2008 3:30 PM
User is offline Mitch Sellers
5712 posts
www.mitchelsellers.com
3rd Ranked




Re: How to localize DropDownList control? 

What is the error that you see?


-Mitchel Sellers
MCITP, MCPD, MCTS
CEO/Director of Development - IowaComputerGurus Inc.
LinkedIn Profile

Visit mitchelsellers.com for my mostly DNN Blog and support forum.

Visit IowaComputerGurus.com for free DNN Modules, DNN Consulting Quotes, and DNN Technical Support Services

I reccomend 3Essentials for shared hosting and BaseCamp for project management
 
Previous Previous
 
Next Next
  Forum  General DotNetN...  Extend It! ( Pr...  How to localize DropDownList control?
 


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.

 


Expressnet - DotNetNuke Hosting
Expressnet provide premium quality ASP.NET Web Hosting. We specialise in Windows based products including ASP.NET and Microsoft SQL Server. We offer fantastic value packages for DotNetNuke hosting. We also offer free asp.net web hosting
www.expressnet.com.au
Softech Development, Inc.
We help your business work smarter with DotNetNuke. Whether you need a new implementation, a custom module or skin for an existing implementation, or integration with your business processes, Softech has the experience and expertise to make it happen.
www.softechdevelopment.com
Module Development by Engage Software
Specializing in custom module development, training and skinning.
www.engagesoftware.com

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