Introduction: In this post I have explained how we can solve
the problem A page can have only one server-side Form tag.
Description:
I got this error when I try
to export the Gridview web page Data with images to Pdf file. To solve this
error add EnableEventValidation =
"false" to @Page directive
of .aspx page as shown below:
<%@ Page
Language="C#"
AutoEventWireup="true"
CodeFile="ExportGrdiview_ImagesPDF.aspx.cs"
Inherits="ExportGrdiview_ImagesPDF"
EnableEventValidation =
"false" %>
I hope it will resolve your problem.
No comments:
Post a Comment