|
code
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
DataGrid help on Datagrid's SelectedIndexChanged eventHi,
I have two Select button columns on my datagrid control. What is the easiest solution to know which control has been pressed by the user. When I press any of the two controls, it goes directly to the DataGrid_SelectedIndexChanged event... thank you Hi Eric,
You can name the commands like: <asp:ButtonColumn CommandName="Select2" ... and then capture the event in ItemCommand instead of SelectedIndexChanged like: private void DataGrid1_ItemCommand(object source, DataGridCommandEventArgs e) { if (e.CommandName.Equals("Select2")) ... Cheers, Steve Goodyear
Is this posible?
Utilities/Addon for Creating Tables Dynamically Adding Controls Web Page Header and Menu help~ populating dropdown list User Controls Radio Button when checked evaluates to true????? ASP.NET: MS Treeview loses data when posted to the server Dynamic load ascx control when DLL not in "/bin" dropwon list question |
|||||||||||||||||||||||