tags:

views:

21

answers:

1

Hi, I have the radioButtonList on my page. I want to change that control's ListItems Text property depending on the .rex file. How to do that ?

+2  A: 

You have to bind the text property: Text="<%$ Resources:WebResources, RadioItemText %>" in the ListItem element, if the items are embedded in the aspx. If they are generated programmatically, you have to store it in your viewmodel (using databind) or with add:

myRadioButtonList.Add(WebResources.ItemText1);
onof
OK, but how to assign different values for each ListItem ?
Tony
I edited my question
onof