我有gridview,我需要从其类后面的代码中触发内联编辑。如何实现 ClientScriptManager.RegisterForEventValidation。
<asp:GridView ID="gridViewTest" runat="server"
Height="145px" Width="369px" onrowdatabound="gv_RowDataBound" OnRowEditing="gv_RowEditing">
</asp:GridView>
protected void gv_RowEditing(object sender, GridViewEditEventArgs e)
{
gridViewTest.EditIndex = e.NewEditIndex;
}