We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How load ComboBoxAdv

Thread ID:





119796 Aug 2,2015 08:10 PM UTC Aug 4,2015 03:59 AM UTC WinForms 3
Tags: ComboBoxAdv
Claudemiro Batista
Asked On August 2, 2015 08:10 PM UTC


I would like to know how can I to load the control ComboBoxAdv. This control is similar ComboBox from C# .NET? Please, show me a sample of how to load this control programmatically.


Senthil Kumaran Rajan [Syncfusion]
Replied On August 3, 2015 09:45 AM UTC

Hi Claudemiro,

Thank you for using Syncfusion products.

Yes, ComboBoxAdv control is similar to ComboBox from C# .NET. Please refer the below code snippet to load the ComboBoxAdv control programmatically.

Code Snippet[C#]:

//To initialize ComboBoxAdv

   ComboBoxAdv comboboxadv = new ComboBoxAdv();

   ComboBoxAdv ComboBoxDataBinding = new ComboBoxAdv();

  private void Form1_Load(object sender, EventArgs e)


    //To add the ComboBoxAdv control into the GroupBox.       



       //To set location of ComboBoxAdv

       this.comboboxadv.Location = new System.Drawing.Point(60, 80);

       //To set size of ComboBoxAdv

       this.comboboxadv.Size = new System.Drawing.Size(121, 21);

       //To add items in comboboxadv

       this.comboboxadv.Items.AddRange(new object[] {






       //To set style for ComboBoxAdv

       this.comboboxadv.Style = VisualStyle.Metro;

       this.ComboBoxDataBinding.Style = VisualStyle.Metro;

       //To set location of ComboBoxAdv

       this.ComboBoxDataBinding.Location = new System.Drawing.Point(200, 80);

       //To set size of ComboBoxAdv

       this.ComboBoxDataBinding.Size = new System.Drawing.Size(121, 21);

       // Create a DataTable.   

       DataTable dt = new DataTable("Table1"); 

       // Adding Columns.





         // Create a Data Set.

         DataSet ds = new DataSet();


         dt.Rows.Add(new string[] { "John", "Tina", "Doctor", "Italy" });

         dt.Rows.Add(new string[] { "Mary", "anu", "Teacher", "America" });

         dt.Rows.Add(new string[] { "asha", "roy", "Staff", "London" });

         dt.Rows.Add(new string[] { "George", "Gaskin", "Nurse", "germany" });

         dt.Rows.Add(new string[] { "sam", "jens", "Engineer", "Russia" });

         dt.Rows.Add(new string[] { "Ben", "Geo", "Developer", "India" }); 

         // Create a DataView.

         DataView view = new DataView(dt); 

        // To Bind datasource with ComboBoxAdv.

        this.ComboBoxDataBinding.DataSource = view; 

        // Set DisplayMember.

         this.ComboBoxDataBinding.DisplayMember = "place";

    //To set style for the ComboBoxAdv.

    this.comboboxadv.Style = VisualStyle.Metro;

    this.ComboBoxDataBinding.Style = VisualStyle.Metro;


We have prepared the sample for your reference and it can be downloaded from the below location.

Sample Location : http://www.syncfusion.com/downloads/support/directtrac/142201/ze/LoadComboBoxAdv-569672496

Please let us know if you need further assistance.


Claudemiro Batista
Replied On August 4, 2015 02:55 AM UTC


I really like very much of the sample and about the control, too!!!
I'll need more help, but about another control. So I have to open a new thread.

Thank you very much!!!

Kannan R [Syncfusion]
Replied On August 4, 2015 03:59 AM UTC

Hi Claudemiro,

Thank you for your valuable feedback.

We are glad to know that, your requirement has been achieved. Please let us know if you need any further assistance, we will be happy to assist you.




This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon