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. Checkboxlist inside Repeater control

Checkboxlist inside Repeater control

Scheduled Pinned Locked Moved ASP.NET
2 Posts 2 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.
  • S Offline
    S Offline
    senthil_becse
    wrote on last edited by
    #1

    I am using repeater control in my page and repeater control has nested checkboxlist control,on one button click inside same repeater control,i am adding listitems to the checkboxlist control. the listed items add successfully into checkboxlist control.now i am want to get checkboxlist items checked value on another button inside repeater control. Plse give me sugession on this. My Handler for checkboxlist is not working. Dim Cbl_Groupname As CheckBoxList = CType(ri.FindControl("ChkLst_Groupname"), CheckBoxList) AddHandler Cbl_Groupname.SelectedIndexChanged, AddressOf Me.ChkBoxLsGroupName I add this handler in repeater control itemcreated event.

    P 1 Reply Last reply
    0
    • S senthil_becse

      I am using repeater control in my page and repeater control has nested checkboxlist control,on one button click inside same repeater control,i am adding listitems to the checkboxlist control. the listed items add successfully into checkboxlist control.now i am want to get checkboxlist items checked value on another button inside repeater control. Plse give me sugession on this. My Handler for checkboxlist is not working. Dim Cbl_Groupname As CheckBoxList = CType(ri.FindControl("ChkLst_Groupname"), CheckBoxList) AddHandler Cbl_Groupname.SelectedIndexChanged, AddressOf Me.ChkBoxLsGroupName I add this handler in repeater control itemcreated event.

      P Offline
      P Offline
      P S Pundeer
      wrote on last edited by
      #2

      Instead of handler, try ItemCommand event of repeater. Also use CommandArgument and CommandName in combination with this to solve further issues. In the same event, you can find checkbox list by ... ((CheckBoxList)e.Item.FindControl("ControlName"))

      puranonnet@hotmail.com www.ibrinte.com

      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