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
2010-08-02 07:27:19
OK, but how to assign different values for each ListItem ?
Tony
2010-08-02 07:35:08
I edited my question
onof
2010-08-02 08:55:33