Example #1
0
 protected void Page_Load(object sender, EventArgs e)
 {
     if (Context.Handler is IFrmParams)
     {
         FrmParams p = (Context.Handler as IFrmParams).getParameters();
         if (p.contains("Message"))
         {
             Label1.InnerText = p.get("Message").ToString();
         }
         if (p.contains("ExStackTrace"))
         {
             Label2.InnerText = p.get("ExStackTrace").ToString();
         }
     }
 }
Example #2
0
 protected void Page_Load(object sender, EventArgs e)
 {
     if (Context.Handler is IFrmParams)
     {
         FrmParams p = (Context.Handler as IFrmParams).getParameters();
         if (p.contains("Message"))
         {
             Response.Write("<script>alert('" + p.get("Message").ToString() + "');</script>");
         }
     }
 }