i'm a little stuck, after i was able to bind an event _SelectedIndexChanged to a combobox of a editform.
now i'm receiving the event in a handler ..._SelectedIndexChanged(ByVal sender As Object, ByVal e As RadComboBoxSelectedIndexChangedEventArgs),
but now i'm supposed to feed another column/textbox of the grid with a value based on the selecteed value of the combobox.
i can imagine (/read somewhere) a solution would be the creation of a custom editform and then using a panel or something to "findcontrol" the textbox, but my editform is generated auto, so is there a way?
of course
Dim editedItem As GridEditableItem = CType(e.Item, GridEditableItem)
Dim editMan As GridEditManager = editedItem.EditManager
If (CType(editedItem.Item("Value1").Controls(0), RadNumericTextBox).Text) > 0 then.... etc.
doens't bind to e.item which is RadComboBoxSelectedIndexChangedEventArgs,
so can i get to the editForm through RadGrid1.Mastertableview. ...? Or via FIndControl("..") ?
Regards
Reto
now i'm receiving the event in a handler ..._SelectedIndexChanged(ByVal sender As Object, ByVal e As RadComboBoxSelectedIndexChangedEventArgs),
but now i'm supposed to feed another column/textbox of the grid with a value based on the selecteed value of the combobox.
i can imagine (/read somewhere) a solution would be the creation of a custom editform and then using a panel or something to "findcontrol" the textbox, but my editform is generated auto, so is there a way?
of course
Dim editedItem As GridEditableItem = CType(e.Item, GridEditableItem)
Dim editMan As GridEditManager = editedItem.EditManager
If (CType(editedItem.Item("Value1").Controls(0), RadNumericTextBox).Text) > 0 then.... etc.
doens't bind to e.item which is RadComboBoxSelectedIndexChangedEventArgs,
so can i get to the editForm through RadGrid1.Mastertableview. ...? Or via FIndControl("..") ?
Regards
Reto