Adding column of controls to a Gridview
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.
|All times are GMT. The time now is 04:37 PM.|
Powered by vBulletin®. Copyright ©2000 - 2014, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.