Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @{
- DateTime today = DateTime.Today;
- DateTime startOfMonth = new DateTime(today.Year, today.Month, 1);
- DateTime today1 = DateTime.Today;
- DateTime endOfMonth = new DateTime(today1.Year, today1.Month, DateTime.DaysInMonth(today1.Year, today1.Month));
- UriReportSource trial = new UriReportSource();
- trial.Uri = "Card Summary Report.trdx";
- trial.Parameters.Add("DateFdy", startOfMonth);
- trial.Parameters.Add("DateEnd", endOfMonth);
- trial.Parameters.Add("Culture", (string)ViewData["lang"]);
- }
- @(Html.TelerikReporting().ReportViewer()
- .Id("reportViewer1")
- .ServiceUrl("/api/reports/")
- .ReportSource(trial)
- .ViewMode(ViewModes.INTERACTIVE)
- .ScaleMode(ScaleModes.SPECIFIC)
- .Scale(1.0)
- .PersistSession(false))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement