Home All Groups Group Topic Archive Search About

GridView Multiple Select Buttons

Author
13 Mar 2006 4:10 PM
Terry
Good morning!

How do I determine which SELECT button was clicked in a GridView?

The select buttons are for our internal approvals by respective personnel.

Thank you in advance for your support in this matter.

Author
14 Mar 2006 5:53 AM
Munawar Hussain
Hi

you can check it by CommandName ..................e.CommandName=="Sort"

**********************************************************
void Command_Button_Click(Object sender, CommandEventArgs e)
    {
       if(e.CommandName=="Sort")

          // Insert code to sort.
          Message.Text="You clicked the Sort Button";
       else

          // Insert code to perform an alternate task.
          Message.Text="You clicked the Alternate Button";
    }
*******************************************************


Show quoteHide quote
"Terry" <Te***@discussions.microsoft.com> wrote in message
news:78C79DAC-6FCE-47DF-93F0-8C120EBEDC6D@microsoft.com...
> Good morning!
>
> How do I determine which SELECT button was clicked in a GridView?
>
> The select buttons are for our internal approvals by respective personnel.
>
> Thank you in advance for your support in this matter.