Access/Split style combo box

G

Guest

I'm looking for a mechanism to do an Access style combo box in ASP.NET.

The data looks something like this:
<data>
<row>
<abbr>ACCT</abbr>
<fulltext>Accounting</fulltext>
</row>
<row>
<abbr>TEST</abbr>
<fulltext>Quality Assurance and Testing</fulltext>
</row>
</data>

What I want is to display the abbr in the combo, and have it only that size,
but when it drops down have a wider drop down that displays both columns.

I'd like to develop this as source code, not use a pre-packaged solution and
am looking to see if anyone has done this before or has any ideas on it.

My current thought is that I put a text box and an image control side by
side, and have a div containing a table. I use a JavaScript to display/hide
the table when the image control is clicked, and then put the data on the
table. I'm not sure if there is a different or better way of doing it, so
I'm looking for ideas.
 
K

Kevin Spencer

I think you're on the right track Dave.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
What You Seek Is What You Get.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,236
Members
46,822
Latest member
israfaceZa

Latest Threads

Top