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

No members online now.

Forum statistics

Threads
473,997
Messages
2,570,239
Members
46,827
Latest member
DMUK_Beginner

Latest Threads

Top