Facing issue while binding custom control with ComboBox

Closed
0
0

Hi There,
I have a requirement that I need to show custom control in combobox dropdown.

  • I added items in combobox using following code.

    CustomControl instance = new CustomControl ();
    Combobox.Items.Add(CustomControl instance) ;

    Problem with above it, it does not render entire control but it does render full name of the control.

  • I also tried to use Controls property of combobox.

    CustomControl instance = new CustomControl ();
    Combobox.Controls.Add(CustomControl instance);

Same issue happen. It haven’t render control but just a name of control.

My question is – Is there anyway, I can bind my custom control with combobox or is there any other type of control which allow to do this.

  • You must to post comments
0
0

You can easily build a custom drop down control containing other controls. There are many ways to do that: flex panel, panel, data repeater, etc.

Contact our support directly and include your license information and detailed requirements if you need further assistance on how to create a list of controls in C# or VB.NET.

  • You must to post comments
Showing 1 result