Adding column of controls to a Gridview

Discussion in '.NET' started by LBman, Jul 11, 2007.

  1. LBman

    LBman

    Joined:
    Jul 11, 2007
    Messages:
    4
    Hello!

    I apologize if this has been asked and answered, I did a bit of searching without success.

    I am trying to add a column of buttons to a gridview based on a list of Enums returned from another class, perferrably at runtime. What I would ideally like to do is create a TemplateField, but am unsure if this is the best solution, and have had trouble implementing this.

    I had this working wonderfully before, hardcoded, not relying on any outside data. This became evident to be bad incase we decide to add additional items to the list.

    If anyone has suggestions as to a better way of doing this, or a solution to this problem, I would be happy to entertain all ideas!

    Thanks ahead of time.
     
    LBman, Jul 11, 2007
    #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. Keithb
    Replies:
    2
    Views:
    1,153
  2. Greg Smith
    Replies:
    0
    Views:
    542
    Greg Smith
    Apr 12, 2007
  3. anonymoushamster@gmail.com
    Replies:
    2
    Views:
    442
    anonymoushamster@gmail.com
    Nov 7, 2007
  4. Keith G Hicks
    Replies:
    3
    Views:
    773
    Keith G Hicks
    Feb 18, 2008
  5. JB
    Replies:
    1
    Views:
    1,168
Loading...

Share This Page