Hello,
In my dataGrid I have a buttonColumn and when the type is pushbutton, the handler is never executed and nothing happens and as soon as I change the type to linkButton, the exact same handler executes the desired command.
Private Sub dgResults_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles dgResults.SelectedIndexChanged
qs = "elDetails.aspx?userEmpNum=" & empNum
Response.Redirect(qs)
End Sub
<asp:datagrid id="dgResults" runat="server" Width="1002px" AutoGenerateColumns="False" PageSize="5">
<FooterStyle CssClass="dgfooter"></FooterStyle>
<SelectedItemStyle CssClass="dgselecteditem"></SelectedItemStyle>
<EditItemStyle CssClass="dgedititem"></EditItemStyle>
<Alter ...
Go to the complete details ...