Ejemplo n.º 1
0
        public JsonResult FindStringInReport(string reportPath, string searchText, int?startPage = 0)
        {
            var model = GetReportViewerModel(Request);

            model.ViewMode   = ReportViewModes.View;
            model.ReportPath = reportPath;

            return(Json(ReportServiceHelpers.FindStringInReport(model, searchText, startPage).ToInt32(), JsonRequestBehavior.AllowGet));
        }
Ejemplo n.º 2
0
        public JsonResult FindStringInReport(string reportPath, string searchText, int?page = 0)
        {
            var model = this.GetReportViewerModel(Request);

            model.ViewMode   = ReportViewModes.View;
            model.ReportPath = reportPath;

            return(Json(ReportServiceHelpers.FindStringInReport(model, searchText, page).ToInt32()));
        }