auto generated edit command (gridview)

J

JohnE

In the gridview control there can be autogenerated commands (Select, Edit,
etc). When Edit is selected, two other commands appear, Update and Cancel.
Is it possible to have commands appear when the Select command is used?
These other commands would appear and disappear in the same manner as those
do when Edit is used. If it is possible, how is something like that
accomplished? Examples/samples are good as well as links to sites.
Thanks... John
 
G

Gregory A. Beamer

In the gridview control there can be autogenerated commands (Select,
Edit, etc). When Edit is selected, two other commands appear, Update
and Cancel. Is it possible to have commands appear when the Select
command is used? These other commands would appear and disappear in
the same manner as those do when Edit is used. If it is possible, how
is something like that accomplished? Examples/samples are good as
well as links to sites. Thanks... John

If you explicitly code the tags, you can set up as many button fields
(ButtonColumns) as you desire, with each accomplishing a different thing.
http://www.ezzylearning.com/tutorial.aspx?tid=5066444

This can be done in the code, as well:
http://msdn.microsoft.com/en-
us/library/system.web.ui.webcontrols.buttoncolumn.aspx
 
J

JohnE

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

Forum statistics

Threads
473,767
Messages
2,569,570
Members
45,045
Latest member
DRCM

Latest Threads

Top