summaryrefslogtreecommitdiffstats
path: root/samples/ProviderPortal/TracePage.aspx.cs
diff options
context:
space:
mode:
Diffstat (limited to 'samples/ProviderPortal/TracePage.aspx.cs')
-rw-r--r--samples/ProviderPortal/TracePage.aspx.cs19
1 files changed, 19 insertions, 0 deletions
diff --git a/samples/ProviderPortal/TracePage.aspx.cs b/samples/ProviderPortal/TracePage.aspx.cs
new file mode 100644
index 0000000..6360289
--- /dev/null
+++ b/samples/ProviderPortal/TracePage.aspx.cs
@@ -0,0 +1,19 @@
+using System;
+using System.Collections.Generic;
+using System.Web;
+using System.Web.UI;
+using System.Web.UI.WebControls;
+
+namespace ProviderPortal {
+ public partial class TracePage : System.Web.UI.Page {
+ protected void Page_Load(object sender, EventArgs e) {
+ placeHolder1.Controls.Add(new Label { Text = Global.LogMessages.ToString() });
+ }
+
+ protected void clearLogButton_Click(object sender, EventArgs e) {
+ Global.LogMessages.Length = 0;
+ // clear the page immediately, and allow for F5 without a Postback warning.
+ Response.Redirect(Request.Url.AbsoluteUri);
+ }
+ }
+} \ No newline at end of file