ImageButton and Panel at runtime

Discussion in 'ASP .Net' started by Christian Ista, Nov 16, 2003.

  1. Hello,

    I have a database, a simple table called "FAQ" in this table 3 fields "ID",
    "QUESTION" and "ANSWER".

    I'd like for all record return by a query display the question next to an
    Imagebutton and under this question, the answer is placed in a panel, this
    panel is not visible by default.

    I'd like when I click on the button show the panel (with the answer in it).

    That's work fine when I do all at design time, place, for example 3 panels
    and 3 Imagebutton.

    But I'd like do that at rutime, if the query return 3 records (example ID
    =8, ID = 15, ID = 25) create ImageButton called imgButton8, imgButton15 and
    imgButton25. and create 3 panels called panelA8, panelA15 and panelA25.

    How to do that ?

    Thanks,
     
    Christian Ista, Nov 16, 2003
    #1
    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. Jason
    Replies:
    1
    Views:
    403
    One Handed Man \( OHM#\)
    Jun 11, 2004
  2. Replies:
    1
    Views:
    727
    Wee Bubba
    Jan 27, 2005
  3. Robin Wenger
    Replies:
    0
    Views:
    2,938
    Robin Wenger
    Aug 18, 2011
  4. Chris

    Grid Layout Panel and Panel in the Designer

    Chris, Aug 28, 2003, in forum: ASP .Net Web Controls
    Replies:
    0
    Views:
    203
    Chris
    Aug 28, 2003
  5. Ian Hobson
    Replies:
    1
    Views:
    326
    Hidetoshi NAGAI
    Dec 7, 2003
Loading...

Share This Page