Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > localizing radiobuttonlist (or its elements)

Reply
Thread Tools

localizing radiobuttonlist (or its elements)

 
 
acadam
Guest
Posts: n/a
 
      06-27-2006
Hi,
I have not found any info about localizinfg the elemtns of a
radiobuttonlist. I'd like to use .resx files for every languages
(className.ascx.resx, className.ascx.en-US.resx and so on...) but I
don't know how to do this.

First:
<asp:ListItem meta:resourceKey="option1">opt1</asp:ListItem>
<asp:ListItem meta:resourceKey="option2">opt2</asp:ListItem>
....
I set "option1" into the .resx file with its value and so on for the
other elements. This code doesn't return any error but doesn't run.

Second:
<asp:ListItem Text="<%$Resourcesption1%>">opt1</asp:ListItem>
....
I set "option1" into the .resx file with its value. Now I get an error
"It is not possibile to find the resource object with 'option1' key". I
don't know how to set the pathname, .resx file resides into
"App_LocalResources" folder.

Thank you very much!!
Excuse me for my bad English!!!

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Its a bird, its a plane, its.. um, an Attribute based System? thunk Ruby 14 04-03-2010 10:08 AM
Its a bird, its a plane, its.. um, an Attribute based System? thunk Ruby 0 04-01-2010 10:25 PM
Its a bird, its a plane, no ummm, its a Ruide thunk Ruby 1 03-30-2010 11:10 AM
localizing ax external template Trapulo ASP .Net 4 08-04-2006 06:45 PM
localizing web form without setting values programmatically Philipp Sumi ASP .Net 2 07-23-2003 09:27 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57