Cats.AmharicReportViewer.Page_Load C# (CSharp) Method

Page_Load() protected method

protected Page_Load ( object sender, EventArgs e ) : void
sender object
e EventArgs
return void
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!Page.IsPostBack)
            {
                ReportViewerAmh.ProcessingMode = ProcessingMode.Remote;
                var userName = System.Configuration.ConfigurationManager.AppSettings["CatsReportUserName"];
                var password = System.Configuration.ConfigurationManager.AppSettings["CatsReportPassword"];
                var url = System.Configuration.ConfigurationManager.AppSettings["CatsReportServerURL"];
                var credential = new CatsReportServerCredentials(userName, password);
                ReportViewerAmh.ServerReport.ReportServerCredentials = credential;
                ReportViewerAmh.ServerReport.ReportServerUrl = new Uri(url);
                ReportViewerAmh.ServerReport.ReportPath = Request["path"];
                ReportViewerAmh.ServerReport.Refresh();

            }
        }
AmharicReportViewer