I have gridview which I need to trigger inline editing from its code behind class. How to implement 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;
}
Here is the solution for the above question: