|
code
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
GridView Multiple Select ButtonsGood 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. 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.
argumentoutofrangeexception using detailsview
RadioButtonList, MultiView, and JavaScript DropDownList select: first visible a label, then post back ASP.NET, CSS, and Netscape 7.1 Detailsview with command field displayed as button Fitting a character on a small button bug with gridview.selectedvalue? Passing values between user controls in separate forms Menu control MenuItemClick does not fire. Hidden input field named "__EVENTVALIDATION" |
|||||||||||||||||||||||