Adding column of controls to a Gridview

Joined
Jul 11, 2007
Messages
4
Reaction score
0
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.
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,102
Messages
2,570,646
Members
47,248
Latest member
MargretYhh

Latest Threads

Top