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. General Programming
  3. C#
  4. Listbox in DataGridView

Listbox in DataGridView

Scheduled Pinned Locked Moved C#
4 Posts 2 Posters 1 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.
  • S Offline
    S Offline
    Sarvan AL
    wrote on last edited by
    #1

    Hi ALL, In DataGridView -> Columns -> Column Type, we can have any one of the following: Button, Text box, Link, Combo box, check box, image. But I need to have a list box for one column. I should be able to select more than one item from the list. Since it's NOT possible to have multi-select combobox, I'm looking for a list box in DataGridView column. Any suggestions would be greatly appreciated. Thanks in advance, Sarvan AL

    A 1 Reply Last reply
    0
    • S Sarvan AL

      Hi ALL, In DataGridView -> Columns -> Column Type, we can have any one of the following: Button, Text box, Link, Combo box, check box, image. But I need to have a list box for one column. I should be able to select more than one item from the list. Since it's NOT possible to have multi-select combobox, I'm looking for a list box in DataGridView column. Any suggestions would be greatly appreciated. Thanks in advance, Sarvan AL

      A Offline
      A Offline
      Alper Camel
      wrote on last edited by
      #2

      Hi, Did you try to add custom template, you can add any control on the custom template in asp.net control of grid. Cheers.

      Music Resources

      S 1 Reply Last reply
      0
      • A Alper Camel

        Hi, Did you try to add custom template, you can add any control on the custom template in asp.net control of grid. Cheers.

        Music Resources

        S Offline
        S Offline
        Sarvan AL
        wrote on last edited by
        #3

        Hi Alper, Thanks for your interest in replying here. I'm new to .Net development and looking for this to develop a C# application. Is this (Adding control on the custom template) possible in C#? If so, please suggest me some good resources (articles/books) to explore on this feature. Thanks once again, Sarvan AL

        A 1 Reply Last reply
        0
        • S Sarvan AL

          Hi Alper, Thanks for your interest in replying here. I'm new to .Net development and looking for this to develop a C# application. Is this (Adding control on the custom template) possible in C#? If so, please suggest me some good resources (articles/books) to explore on this feature. Thanks once again, Sarvan AL

          A Offline
          A Offline
          Alper Camel
          wrote on last edited by
          #4

          WEll it is in asp.net controls grid, add a form on to your grid, right click, select custom column template. type this in google also : "C# custom column template"

          Music Resources

          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