Author: goldbishop | Posted on: 8/6/2010 11:16:54 AM | Views : 265

 I know i could possibly just throw and exception and let the server handle the interruption but for personal knowledge and exploration, i would like to do it more than having the server automate it for me.
I hav built a shared method that will take in information such as:
Public Shared Sub DisplayException(ByRef pg As Page, ByVal src As String, ByVal e As Exception, _ Optional ByVal exType As ErrorTypes = ErrorTypes.Unknown, _ Optional ByVal show As Boolean = True)
 
During the body, it just formats a series of information into a table and i would like to add the table to the page.  Now i know you just simply do "Page.Controls.Add(Object)" to add the table to the page.  Problem is that it adds it to the bottom of the page after rendering all the other content.
I would like for this method to interrupt the rende ...

Go to the complete details ...