or
I have a RadCombobox that is placed on a CommandItemTemplate and in my SqlDataSource Selecting event there I need to get the SelectedValue from the RadCombobox. I have tried to use the FindControl function but I can't get it to work so I would be happy if you could tell me how this is done :)
Thanks
Hendrik Johns
If (e.Item.OwnerTableView.Name = "DetailTable") Then If _list Is Nothing Then _list = Managers.DataManager.LoadAll End If 'set the data sourse If TypeOf e.Item Is GridDataItem Then If Not _IsBound Then Dim item As GridDropDownColumn = TryCast(e.Item.OwnerTableView.GetColumnSafe("ddcCondition"), GridDropDownColumn) Dim itemManager As GridDropDownColumnEditor = TryCast(item.ColumnEditor, GridDropDownColumnEditor) itemManager.DataSource = _list itemManager.DataBind() _IsBound = True End If End If
End If