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. CheckBoxList

CheckBoxList

Scheduled Pinned Locked Moved C#
tutorialquestion
3 Posts 3 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.
  • A Offline
    A Offline
    anupamwb
    wrote on last edited by
    #1

    hello everybody.... I want to know How to enable/disable an item in an checkboxlist ? i need that urgent. I follow below procedure. CheckBoxList.item[0]. ===I did not get enabled option .how to get that enable option. thanks

    RaviBeeR X 2 Replies Last reply
    0
    • A anupamwb

      hello everybody.... I want to know How to enable/disable an item in an checkboxlist ? i need that urgent. I follow below procedure. CheckBoxList.item[0]. ===I did not get enabled option .how to get that enable option. thanks

      RaviBeeR Offline
      RaviBeeR Offline
      RaviBee
      wrote on last edited by
      #2

      anupamwb wrote:

      how to get that enable option.

      You need to use the list box's CheckedIndices[^] or CheckedItems[^] properties. Also see the SetItemCheckState()[^] method. /ravi

      This is your brain on Celcius Home | Music | Articles | Freeware ravib(at)ravib(dot)com

      1 Reply Last reply
      0
      • A anupamwb

        hello everybody.... I want to know How to enable/disable an item in an checkboxlist ? i need that urgent. I follow below procedure. CheckBoxList.item[0]. ===I did not get enabled option .how to get that enable option. thanks

        X Offline
        X Offline
        Xmen Real
        wrote on last edited by
        #3

        CheckBoxList.SetItemChecked(0, true);

        hope it will help

        Becoming Programmer...

        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