Hi,
I am applying a theme to the dropDownElement of a RadMulticolumnComboBox column. But it is not applyed until the second time the dropDownElement is displayed. How can I do it to apply it all the times, including the first time.
I have tried to do this in two events. Here is the code if I use CellEditorInitialized:
I even tryed with CellBeginEdit event:
Thank you.
I am applying a theme to the dropDownElement of a RadMulticolumnComboBox column. But it is not applyed until the second time the dropDownElement is displayed. How can I do it to apply it all the times, including the first time.
I have tried to do this in two events. Here is the code if I use CellEditorInitialized:
Private Sub Grid_CellEditorInitialized(ByVal sender As System.Object, ByVal e As Telerik.WinControls.UI.GridViewCellEventArgs) Handles Grid.CellEditorInitialized If e.Row.Cells(e.ColumnIndex).ColumnInfo.Name = "multiComboGrupo" Then Dim editor As RadMultiColumnComboBoxElement = CType(Grid.ActiveEditor, RadMultiColumnComboBoxElement) editor.EditorControl.ThemeName = "UYA_Multicolu" End if End SubI even tryed with CellBeginEdit event:
Private Sub Grid_CellBeginEdit(ByVal sender As System.Object, ByVal e As Telerik.WinControls.UI.GridViewCellCancelEventArgs) Handles Grid.CellBeginEdit If Grid.CurrentRow.Cells(e.ColumnIndex).ColumnInfo.Name = "multiComboGrupo" Then Dim editor As RadMultiColumnComboBoxElement = CType(Grid.ActiveEditor, RadMultiColumnComboBoxElement) editor.EditorControl.ThemeName = "UYA_Multicolu" End if End SubThank you.
