Hi All,
One of my page has an event to redirect to a crystal report viewer page.
However, the page cannot be fired.
No error but open with blank page.
Anyone can help me to resolve the problem?
protected void lbtnPrint_Click(object sender, EventArgs e)
{
Session["ReportSelect"] = "ConfineSpace_Summary";
myComm.Redirect("ReportDisplay.aspx", "_Self", "");
}
public void Redirect(string url, string target, string windowFeatures)
{
HttpContext context = HttpContext.Current;
if ((String.IsNullOrEmpty(target) || target.Equals("_self", StringComparison.OrdinalIgnoreCase)) && String.IsNullOrEmpty(windowFeatures))
{
context.Response.Redirect(url);
}
else
{
Page page = (Page)context.Handler;
if (page == nul ...
Go to the complete details ...