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

Binding ArrayList to Dropdown

Thread ID:





52041 Nov 21,2006 05:37 AM UTC Nov 22,2006 05:28 AM UTC General Discussion 1
Tags: General Discussion
Asked On November 21, 2006 05:37 AM UTC

Hi, I am new to Syncfusion.
I have a list of objects of same type in a Arraylist A.
Now i have to bind this ArrayList to DropDown,
in such a way that i'll display name and i want to retrieve the Id on selection change.

Any solution?

Thank you

Purusothaman R [Syncfusion]
Replied On November 22, 2006 05:28 AM UTC

Hi Raghu,

I am assuming that, you are mentioning about ComboDropDown.

You can bind a ArrayList to ComboDropDown control using GridListControl. First you need to bind the ArrayList to the GridListControls's DataSource and set its DisplayMember and ValueMember. Finally set the GridListControl as the PopupContainer for the ComboDropDown.

Kindly look in to the attached sample and let me know whether this is what you actually needed.




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

or the page will be automatically redirected to 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