String url = context.Activities.Where(a => a.ID == activityID).FirstOrDefault().ReportUrl + "?panachayatLocationId=" + panchayatRajLocationID + "&startDate=" + startDate.ToShortDateString() + "&endDate=" + endDate.ToShortDateString() + "&isPrint=true&isOffice="; url += ddlViewType.SelectedValue == "1" ? false : true; url += "&status=" + ddlStatus.SelectedValue; String strscript = "<script language=javascript>window.open('" + url + "');</script> btnEnter.OnClientClick = "window.location.href(\"" + url + "\")"; if (!ClientScript.IsStartupScriptRegistered("clientScript")) ClientScript.RegisterStartupScript(Page.GetType(), "clientScript", strscript);
Response.Redirect(url);
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)