I have a ReportViewer on a web page that is set up to view a specific report. The report has a DocumentName of
= "ReportName-" + Format("{0:yyyy-MM-dd}", Now())
It returns something like ReportName-2008-09-08 when the report is exported. If I do this on the page with the ReportViewer:
Page.Title = ReportViewer1.Report.DocumentName;
the page's title is set to the expression and not the expression after it is evaluated. Is there any way to get the evaluated version of that expression in the page codebehind? Is this a place where I should use a public user-defined function instead? I'm new to playing with the
= "ReportName-" + Format("{0:yyyy-MM-dd}", Now())
It returns something like ReportName-2008-09-08 when the report is exported. If I do this on the page with the ReportViewer:
Page.Title = ReportViewer1.Report.DocumentName;
the page's title is set to the expression and not the expression after it is evaluated. Is there any way to get the evaluated version of that expression in the page codebehind? Is this a place where I should use a public user-defined function instead? I'm new to playing with the