Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. Split Combo Box (ala Access)

Split Combo Box (ala Access)

Scheduled Pinned Locked Moved ASP.NET
csharphtmlasp-netdatabase
1 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    Dave Bacher
    wrote on last edited by
    #1

    Was wondering if anyone has a starting point for a combo box that works similarly to Access' for ASP.NET (C# or VB.NET is fine). I have a table that looks like this (we're working with a real database, XML is to make it easy to talk about): ACCT Accounting HR Human Resources The idea is to have a drop-list like field showing just the abbreviation, but when the list is dropped, that would show both fields. Has anyone attempted something like this before? We'd prefer to avoid the commercial controls; I'm aware there are plenty that do this sort of thing. My current thought would be to use a div with a text box and an image. In onclick of the image, pop up a div with a table and border, and in onclick of the table set the text box. On the ASP.NET side of things, introduce a new server control that generates that markup (so that we can reuse it in other projects).

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups