Last post Feb 16, 2016 05:51 AM by Zhi Lv - MSFT
Feb 15, 2016 01:37 PM|jo_en|LINK
I have a gridview with some boundfields and one command field (Edit, Update and Cancel). The rows in the gridview can be selected by this code:
Protected Sub GridView1_RowDataBound(sender As Object, e As System.Web.UI.WebControls.GridViewRowEventArgs) Handles GridView1.RowDataBound
If e.Row.RowType = DataControlRowType.DataRow Then
e.Row.Attributes.Add("onclick", Page.ClientScript.GetPostBackEventReference(sender, "Select$" & e.Row.RowIndex.ToString))
In IE everything runs fine, I can select the rows and edit them. In Firefox I can only select the rows and when I click on Edit, nothing happens although GridView1_RowEditing and GridView1_RowCancelingEdit are present. It looks like the rowdatabound event
prevents the row to turn into edit mode or something.
Anyone an idea what's going on?
Feb 16, 2016 05:51 AM|Zhi Lv - MSFT|LINK