Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / Internationalization / April 2005

Tip: Looking for answers? Try searching our database.

How to localize an asp.net DropDownList?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
pbutlerm - 21 Apr 2005 20:59 GMT
Hi guys,

How do you localize a Dropdown list? You localize the ListItems? what if
the listItems come from the Database? Do you dynamically create unique names
for them?.

Thanks in advance.

Patrick Butler
MasterGaurav - 26 Apr 2005 06:42 GMT
You must have the localized data in the database.

One trick, that I prefer, is to have the table names the format:

RootName_Locale

eg:
SomeTable_en_US
SomeTable_fr_FR

and then populate the DataSource from the corresponding table.

--
Cheers,
Gaurav Vaish
http://www.mastergaurav.org
http://mastergaurav.blogspot.com
--------------------------------
pbutlerm - 27 Apr 2005 02:14 GMT
Thanks MasterG. We created a table with the Field NAme and translation.

Patrick
> Hi guys,
>
[quoted text clipped - 5 lines]
>
> Patrick Butler
MasterGaurav - 28 Apr 2005 06:13 GMT
Great. I assume, from your response, that your application is alive and
kicking. :-)

--
Cheers,
Gaurav Vaish
http://www.mastergaurav.org
http://mastergaurav.blogspot.com
--------------------------------

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.