Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
555
Adding Custom UltraComboBox in Ultrawingrid
posted

Hi,

Will anyone please help me on adding custom UltraComboBox in UltraWinGrid ?

 Class MyUltraComboBox : UltraComboBox

{

}

When i tried implementing as like

ultraGrid1.DisplayLayout.Bands[0].Columns[j].EditorControl = myUltraComboBox ;

 It throws the exception "Only control which implements IProvidesEmbeddableEditor can be assigned to editor control".

But, i guess UltraComboBox implemets all these interfaces. So where i'm doing wrong.

 Thanks

Parents
  • 45049
    Verified Answer
    posted

    Are you sure you're inheriting from the correct class?  Our Windows Forms controls don't include any class by the name "UltraComboBox".

    Normally, we assume that someone means either WinCombo (class name "UltraCombo" or "Infragistics.Win.UltraWinGrid.UltraCombo") or WinComboEditor (class name "UltraComboEditor" or "Infragistics.Win.UltraWinEditors.UltraComboEditor").  In this case, the exact name of the class may make all the difference.

Reply Children
No Data