Edited: Problem resolved.
It was due to inconsistent html encoding of Value/Text in different places. &, <, > are all well supported.
Hello,
We came across a (maybe) problem with the combo item value property:
- Add an item with something like "abc > xyz" in the Value property
- Select the item in the combo. The combo SelectedValue will return "".
- Html encoding the value does not (strangely) work neither
For your information: We set the value property of items in the RadCombo1_ItemDataBound event, like this:
Would you please let me know if there is a workaround (other than removing html entities from values). We can wait for a future fix.
Thank you,
Stephan
It was due to inconsistent html encoding of Value/Text in different places. &, <, > are all well supported.
Hello,
We came across a (maybe) problem with the combo item value property:
- Add an item with something like "abc > xyz" in the Value property
- Select the item in the combo. The combo SelectedValue will return "".
- Html encoding the value does not (strangely) work neither
For your information: We set the value property of items in the RadCombo1_ItemDataBound event, like this:
protected void RadCombo1_ItemDataBound(object sender, RadComboBoxItemEventArgs e) { dynamic data = e.Item.DataItem; e.Item.Text = data.MyText;}//e.Item.Value = data.MyCode;
Would you please let me know if there is a workaround (other than removing html entities from values). We can wait for a future fix.
Thank you,
Stephan