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

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

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,246
    Thomas R
    Nov 21, 2003
  2. Replies:
    1
    Views:
    7,018
    Karl Seguin
    Aug 10, 2005
  3. uncensored
    Replies:
    0
    Views:
    811
    uncensored
    Oct 25, 2006
  4. HockeyFan
    Replies:
    1
    Views:
    994
    Masudur
    Jul 4, 2007
  5. Microsoft

    Repeater inside a Repeater

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

Share This Page