I have a RadWindow with several RadComboBox controls. I'm using javascript to get the selected value from these ComboBoxes. It's pretty simple code:
The combo is getting populated by a datasource. Yet, it says object doesn't support this property or method ( the valueOf() call ). All I'm trying to do is get the selected item. Do I need to have an event on this combo, on the client side to note when the selected index changes?
function OK_Clicked() {
var oWindow = GetRadWindow();
//Get current item
var combo = <%= RadComboBox1.ClientID %>;
var combotext = combo.valueOf();
alert(combotext);
}