In my previous tutorials, I’d explained export all gridview data to word excel text or pdf file in asp.net, export only selected rows from gridview to word excel text or pdf file in asp.net, print gridview data on print button click and other more cracking tutorials on GridView, Asp.net here. Now here in this tutorial, I’ll explain how to solve the Control ‘GridView1’ of type ‘GridView’ must be placed inside a form tag with runat=server error while exporting gridview data in asp.net.
Sometimes we are getting stuck with the Facebook like box positioning issue due to it’s overlap behind other page contents and elements. We do not require to change z-index property of the parent/container element. Just follow quick fix.
Sometimes we need to switch sessionState from InProc mode to SQLServer mode to store session objects into a SQL Server. When switching the sessionState from InProc mode to SQLServer mode, you might get error of unable to serialize the session state as shown below image:
When deploying asp.net application to host on live server or IIS server, you might get this type of parser error. Parser error occurs while some resources are required to serve the request but not able to get the source.