Page 1 of 1
Displaying the report filter on a report
Posted: Mon Jun 06, 2011 5:30 am
by MerChen
Hi all, I was wondering whether it's possible to display the report filter on a report? More often than not, the end user of the report has nothing to do with running the reports and it would be helpful to them to know how the report was filtered.
Thanks!
Displaying the report filter on a report
Posted: Mon Jun 06, 2011 11:57 am
by Jan
Hello,
Unfortunately this option is not available now in our report engine. But we plan release this functionality in few next official releases.
Thank you.
Re: Displaying the report filter on a report
Posted: Fri Sep 21, 2012 9:06 am
by prasanna
Dear Jan,
Is this option [Filter on report viewer] is available to 2012 release ?
i'm looking forward for your reply
prasanna
Re: Displaying the report filter on a report
Posted: Fri Sep 21, 2012 12:00 pm
by HighAley
Hello.
Could you specify what do you want to see in the report?
Do you want to see a filter condition as a string?
Thank you.
Re: Displaying the report filter on a report
Posted: Thu Sep 27, 2012 1:15 pm
by prasanna
Iam trying to achieve functionality like this in your demo site
http://web.stimulsoft.com/?reportname=P ... ingCountry
I created a variable and filter condition in report.filter option works in design window,But not in view window.
it through's error 'Object reference not set to an instance of an object.'
Stack Trace:
[NullReferenceException: Object reference not set to an instance of an object.]
Stimulsoft.Report.Web.StiRequestFromUserPanel.CreateTextBoxTo(StiVariable variable, Int32 width) +1199
Stimulsoft.Report.Web.StiRequestFromUserPanel.CreateControlsVariables() +1492
Stimulsoft.Report.Web.StiRequestFromUserPanel.UpdateControls() +174
Stimulsoft.Report.Web.StiRequestFromUserPanel..ctor(StiWebViewer viewer, ArrayList reportVariables, StiReport report) +425
Stimulsoft.Report.Web.StiWebViewer.CreateChildControls() +1980
System.Web.UI.Control.EnsureChildControls() +102
Stimulsoft.Report.Web.StiWebViewer.OnLoad(EventArgs e) +137
System.Web.UI.Control.LoadRecursive() +74
System.Web.UI.Control.LoadRecursive() +146
System.Web.UI.Control.LoadRecursive() +146
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2207
C# Code [Viewer page]:
Code: Select all
try
{
string applicationDirectory = HttpContext.Current.Server.MapPath(string.Empty);
string reportPath = System.IO.Path.Combine(applicationDirectory, "Reports", User.Identity.Name, Request.QueryString[0].ToString() + ".mrt");
if (System.IO.File.Exists(reportPath))
{
Stimulsoft.Report.StiReport report = new Stimulsoft.Report.StiReport();
report.Load(reportPath);
StiWebViewer1.Report = report;
}
else
{
Response.Write("Report Not Found :(");
}
}
catch (Exception ex)
{
Response.Write(ex.ToString());
}
What could be the problem,please find the mrt file attached.
Thanks
Re: Displaying the report filter on a report
Posted: Fri Sep 28, 2012 12:18 pm
by Alex K.
Hello,
Please check the last prerelease build.
Thank you.