This class is abstract and requires an application specific subclass - generally MessageDisplay.aspx that must follow a few simple but Creating a custom MessageDisplay page.
public class MessageDisplayBase : Page
Member | Description | |
---|---|---|
Constructor | ||
Pagename | Static member that determines the name of the MessageDisplay page. | |
DisplayMessage | Generates a self-contained error message display page that issues a Server.Transfer to the MessageDisplay.aspx page in your application root. public static void DisplayMessage(string TemplatePageName,
string Header, string Message, string RedirectUrl, int Timeout); public static void DisplayMessage(string Header,
string Message, string RedirectUrl, int Timeout); public static void DisplayMessage(string Header,
string Message); |
|
DisplayPage | Displays the page with the appropriate controls filled in. public void DisplayPage(Label messageHeader,
Label message, Label redirectHyperLink); public void DisplayPage();
|
|
BasePath | This property is set during the loading of the page and can be used inside of the page to allow relative links to be found. | |
StyleSheet | A stylesheet reference that gets embedded into the page if set. |