Rank: Newbie Groups: Member
Joined: 8/19/2010 Posts: 2
|
Can you tell me if it is possible to have multiple Button Columns in a single Grid? If so, how does one differentiate between the selected button operations when pressed ? Thanks in advance.
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi, Yes. You can do that. You can set each ButtonColumn's CommandName to have a different value. If the Grid runs in server mode, you would handle the Grid's server side ItemCommand event and uses the CommandName property of the event argument to distinguish the column: http://doc.essentialobjects.com/library/1/eo.web.grid.itemcommand.aspxIf you handle the event on the client side, then the command name is passed to you as an argument of your event handler: http://doc.essentialobjects.com/library/1/jsdoc.public.handlers.grid_itemcommand_handler.aspxPlease let us know if you still have any questions. Thanks!
|