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!!!