One obvious workaround is to change the button type to a regular button or a link button.
You are currently viewing the Ajax section of the Wrox Programmer to Programmer discussions.
aspdotnet-suresh offers C#articles and tutorials,csharp dot net,articles and tutorials, VB.
He visto en reiteradas oportunidad que una operación simple como es el caso de operar con una fila de un Grid View se puede transformarse en algo complejo, mas que nada motivado por la distintas formas que hay para realizar esta acción.
But the funny part is (for me) the event turned out to be inconsistance in its behaviour (i.e. And if someone else also facing similiar inconsistance behaviour, I'd advice to do like what I'll hopefully do; which is letting the user select the rows and clicks on a button (outside the grid) to delete them instead of embeded delete button within each row. Seconds Private Function Ok2Delete(By Val p Row As String) As Boolean If Session("Row Index") Is Nothing Or Else _ (CInt(Session("Rowindex")) = p Row And Also Date Time. This is a known issue and we are investigating fixing this in the next service pack.
Note: the example above shows how you can pass a value of another column on the same row that you wish to delete (ex: item_id is a field of another column in the same row) to your event handler that can help you delete a record from the database. NET in case anyone needs it: Private Function Ok2Delete(By Val p Row As String) As Boolean If Session("Row Index") Is Nothing Or Else _ (CInt(Session("Rowindex")) = p Row And Also Date Time. For the time being you could use the following work around.
You'll be able to ask questions about coding or chat with the community and help others.