Programming the checkboxlist control

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Garudzo
    New Member
    • May 2007
    • 20

    Programming the checkboxlist control

    I am using the checkbox list control in an ASP.Net application. I have placed it in a formview itemtemplate. Now I want to reference it to load it with values from a database. In my aspx.vb code I am not able to reference this control. Any Idea on how I can do this?
  • Frinavale
    Recognized Expert Expert
    • Oct 2006
    • 9749

    #2
    Originally posted by Garudzo
    I am using the checkbox list control in an ASP.Net application. I have placed it in a formview itemtemplate. Now I want to reference it to load it with values from a database. In my aspx.vb code I am not able to reference this control. Any Idea on how I can do this?

    Check out this article.

    What have you tried to bind the CheckBoxList to the data?

    Comment

    • Garudzo
      New Member
      • May 2007
      • 20

      #3
      Originally posted by Frinavale
      Check out this article.

      What have you tried to bind the CheckBoxList to the data?
      After researching I have managed to find some code to locate the checkbox list control using the findcotrol method. However the control is only found when I load the form for the first time. If i switch between view and edit mode the control is not found. I am also not able to find similar checkboxlist controls in the edit and the insert templates of the formview control. I have posted another question with code and more details of what I intend to achieve

      Comment

      Working...