RegisterForEventValidation can only be called during Render() ASP.Net

The prefect solution is use EnableEventValidation="false" in Page tag.

<%@ Page Title="" Language="C#" MasterPageFile="MasterPage.master" AutoEventWireup="true" EnableEventValidation="false"
    CodeFile="checkout.aspx.cs" Inherits="LD.checkout" %> 

Click Here to see in more detail

Related Alrticles

Add Your Business in Free Listing


FREE!!! Registration