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(); } } }
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>"); } } }