Hi , when ever your getting (Server Error in '/' Application) this type of errors.
Do not change like Event validation is enabled using <pages enableEventValidation="false"/> in configuration or <%@ Page EnableEventValidation="false" %> in a page.
Example: <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Details.aspx.cs" Inherits="EntityModelCRUD.Views.Details" EnableEventValidation="false" %>
"It is a bad practice"
Better to do like: UseSubmitBehavior="false",
Example:
<asp:GridView ID="grd" runat="server" OnRowEditing="grd_RowEditing" CellPadding="6" ForeColor="#333333" GridLines="None" AutoGenerateColumns="false" AlternatingRowStyle-BackColor="#6699ff" AlternatingRowStyle-ForeColor="Red">
<Columns>
<asp:TemplateField HeaderText="CRUD">
<ItemTemplate>
<asp:Button ID="ButtonEdit" runat="server" CommandName="Edit" Text="Edit"
UseSubmitBehavior="false" />
<asp:Button ID="ButtonDelete" runat="server" CommandName="Delete" Text="Delete"
UseSubmitBehavior="false" />
</ItemTemplate>