Solved

ListBox with Checkbox in ASP.Net Webform

Posted on 2004-04-21
3
9,088 Views
Last Modified: 2012-05-04
Can anyone let me know how to create a Multiple Select Listbox Control to a ASP.Net Webform, which has two columns, one containing Checkbox and the other column containing any Text item (may be from a datasource). User shall be able to select the checkbox in order to select an item in the List box.
0
Comment
Question by:paragdighe
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 53

Expert Comment

by:COBOLdinosaur
ID: 10883231
A browser cannot render that.  Nothing can be in a select except options, and nothing can be inside options. There is no way to create a functional select with those requirements.

Cd&
0
 
LVL 35

Accepted Solution

by:
mrichmon earned 50 total points
ID: 10884049
The only thing I can think of is to simulate this behavior in Flash.

Of course if you are having them check the checkbox to select the item then what is the point of enclosing it in a drop down menu?  Why not just list the checkboxes and if you have a limited space then use a frame which can scroll.
0
 

Author Comment

by:paragdighe
ID: 10900452
Though solution from mrichmon is acceptable and even COBOLdinosaur is right about the List Box with check box control,  but for others here is what I did: Create a Data Grid with one column containing a check box and the other the Text. The Datagrid made scrollable. This will be a close simulation of a List Box control with Check Box.
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

When setting up new project requests for our site, one of the most powerful tools our team has available to use is Axure (http://www.axure.com/). It’s a tool for creating software and web prototypes that can function and interact as if it were the a…
Dramatic changes are revolutionizing how we build and use technology. Every company is automating, digitizing, and modernizing operations. We need a better, more connected way to work together as teams so we can harness the insights from our system…
The purpose of this video is to demonstrate how to connect a WordPress website to Google Analytics. This will be demonstrated using a Windows 8 PC Go to your WordPress login page. This will look like the following: mywebsite.com/wp-login.php :…
The purpose of this video is to demonstrate how to set up an RSS Feed on a WordPress Website. This will be demonstrated using a Windows 8 PC. Feedburner will be used for this demonstration. Go to your WordPress login page. This will look like the…

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question