Error A Page Can Have only one Server Side Form tag
I am Getting Error A Page Can Have only one Server Side Form tag.But there are no multiple server side form tags on page neither any master page has been applied to the page.It is usually coming while i am exporting grid to pdf.I am able to export.But Sometimes this kind of exception comes.Do not know why please do let me know about the cause of this error.I am stuck on it.
4 Answers
Know the answer? Post it. Somebody with the same question will find it here.


Rajeev PunhaniRank #551 · 4.4K reputationPosted Mar 14, 2016, 8:52 PM EDT
Hi Aniket,
Have you added following code.
public override void VerifyRenderingInServerForm(Control control) { /* Confirms that an HtmlForm control is rendered for the specified ASP.NET server control at run time. */}
If the above solution is helpful then,accept the answer.
Amit Kumar SinghRank #562 · 4.3K reputationPosted Mar 14, 2016, 3:17 AM EDT
Solution is: Have to remove form tag from master page
Aniket NarvankarRank #903 · 2.3K reputationPosted Mar 14, 2016, 3:22 AM EDT
Amit Kumar SinghRank #562 · 4.3K reputationPosted Mar 14, 2016, 3:35 AM EDT