I have a ComboBox in my GridView. I have to fill it dynamically on form load. How can i get the Value of ComboBox on SelectedIndexChanged/SelectedValueChanged. Please post it some example.
Regards,
Sakthivel
1 Answer, 1 is accepted
0
Georgi
Telerik team
answered on 05 Mar 2008, 04:08 PM
Hi Sakthivel,
In your other post, in your code you have presented your way to attach to SelectedValue event of the RadComboBox, which is wrapped in the editor. You could use this event handler to get the currently selected value in the combobox element like this:
Dim index AsIntDirectCast(ComboEditor.HostedControl, RadComboBox).SelectedIndex Dim value AsObjectDirectCast(ComboEditor.HostedControl, RadComboBox).SelectedValue
I hope this helps. If you have any additional questions, please contact me.