Click here to Skip to main content
13,298,551 members (75,568 online)
Rate this:
Please Sign up or sign in to vote.
See more:

I need to create multiple dropdowns in the same page with same set of options. Say, i have to atleast create 10 dropdowns in a single page with options Good, bad, better, worse, excellent. What is the best way to approach it?
1. To create a custom dropdown control with the options predefined or
2. just use the normal dropdown control 10 times in the page.
Please help me.

Thanks in advance.
Posted 1-Jan-13 7:47am

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

Try Repeater or Gridview control, if you have same options in every dropdown.
kunthavai 1-Jan-13 13:15pm
I can't use the repeater control as the page is mixed with several text boxes and different dropdown boxes other than the one i mentioned above. Except the 10 dropdown boxes, others are different.
Sheikh Muhammad Haris 1-Jan-13 13:26pm
Then it depends on the usage of that dropdown. If its count is fixed 10, then add Dropdown 10 times.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy |
Web03 | 2.8.171207.1 | Last Updated 1 Jan 2013
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100