I have a RadComboBox in a UserControl. The RadComboBox has EnableLoadOnDemand = true. How do I get the value of the combobox on the client side from a parent page or container control? I have tried:
var foo = $find('<%=this.UserControlInstanceName.ClientID %>');
foo.get_value();
foo.get_text();
and
var foo = $find('<%=this.UserControlInstanceName.FindControl("RadComboBoxName").ClientID %>');
foo.get_value();
foo.get_text();
In both cases, it simply returns the default of the combo box instead of what is current set.
var foo = $find('<%=this.UserControlInstanceName.ClientID %>');
foo.get_value();
foo.get_text();
and
var foo = $find('<%=this.UserControlInstanceName.FindControl("RadComboBoxName").ClientID %>');
foo.get_value();
foo.get_text();
In both cases, it simply returns the default of the combo box instead of what is current set.