CheckBox inside a Repeater?

Discussion in 'ASP General' started by HockeyFan, Mar 10, 2006.

  1. HockeyFan

    HockeyFan Guest

    I'm still learning .Net and have an ASP.Net app that I'm working on.
    On this particular page, I need to put a bunch of checkboxes on the side of
    the page, and the text for each is derived from the database. So I can't
    just hardcode the checkboxes. I'll have any number of them, and possibly
    even 0.
    I am told that you use a Repeater control for this, but beyond that, am not
    sure what to do. Can someone show me?
     
    HockeyFan, Mar 10, 2006
    #1
    1. Advertisements

  2. HockeyFan wrote:
    > I'm still learning .Net and have an ASP.Net app that I'm working on.


    There was no way for you to know it, but this is a classic asp newsgroup.
    While you may be lucky enough to find a dotnet-savvy person here who can
    answer your question, you can eliminate the luck factor by posting your
    question to a newsgroup where the dotnet-savvy people hang out. I suggest
    microsoft.public.dotnet.framework.aspnet.

    > On this particular page, I need to put a bunch of checkboxes on the
    > side of the page, and the text for each is derived from the database.
    > So I can't just hardcode the checkboxes. I'll have any number of
    > them, and possibly even 0.
    > I am told that you use a Repeater control for this, but beyond that,
    > am not sure what to do. Can someone show me?


    Are you sure you don't want a CheckBoxList? That is a control that can be
    bound to a data source ...

    HTH,
    Bob Barrows
    --
    Microsoft MVP -- ASP/ASP.NET
    Please reply to the newsgroup. The email account listed in my From
    header is my spam trap, so I don't check it very often. You will get a
    quicker response by posting to the newsgroup.
     
    Bob Barrows [MVP], Mar 10, 2006
    #2
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Thomas R

    Checkbox inside a repeater control..

    Thomas R, Nov 20, 2003, in forum: ASP .Net
    Replies:
    2
    Views:
    14,622
    Thomas R
    Nov 21, 2003
  2. tshad
    Replies:
    0
    Views:
    755
    tshad
    Apr 15, 2005
  3. Replies:
    1
    Views:
    7,252
    Karl Seguin
    Aug 10, 2005
  4. Vikram

    disable checkbox list checkbox

    Vikram, Jan 25, 2006, in forum: ASP .Net
    Replies:
    1
    Views:
    1,584
    ThunderMusic
    Jan 25, 2006
  5. uncensored
    Replies:
    0
    Views:
    1,037
    uncensored
    Oct 25, 2006
  6. =?Utf-8?B?RG90TmV0RGV2?=

    DataGrid and embeded Checkbox..How to find if checkbox clicked

    =?Utf-8?B?RG90TmV0RGV2?=, Oct 6, 2006, in forum: ASP .Net
    Replies:
    1
    Views:
    1,040
    David Wier
    Oct 6, 2006
  7. HockeyFan
    Replies:
    1
    Views:
    1,225
    Masudur
    Jul 4, 2007
  8. Microsoft

    Repeater inside a Repeater

    Microsoft, Aug 21, 2006, in forum: ASP .Net Web Controls
    Replies:
    0
    Views:
    393
    Microsoft
    Aug 21, 2006
Loading...