Hi
I have a report with some parameters where I am allowing nulls for them . But the problem is that when the report viewer is loaded the first time the query in the datasource is executing and loading the report..I dont wnat that to happen..I want the user to click the preview button to see the report ..How can make the report invisible but still make the a parameters visible during the page load event...
Please guide me ..Thanks
I have a report with some parameters where I am allowing nulls for them . But the problem is that when the report viewer is loaded the first time the query in the datasource is executing and loading the report..I dont wnat that to happen..I want the user to click the preview button to see the report ..How can make the report invisible but still make the a parameters visible during the page load event...
Please guide me ..Thanks
4 Answers, 1 is accepted
0
Hello Ravi,
Are you referring to the ASP.NET report viewer? If so, the only way to have this behavior currently is to either leave a parameter with no default value, or hide the built-in report parameters and create your own UI to handle the report parameters. This way you can control whether their values are passed to the report or not via your own "Preview" button.
Regards,
Steve
the Telerik team
Are you referring to the ASP.NET report viewer? If so, the only way to have this behavior currently is to either leave a parameter with no default value, or hide the built-in report parameters and create your own UI to handle the report parameters. This way you can control whether their values are passed to the report or not via your own "Preview" button.
Regards,
Steve
the Telerik team
BLOGGERS WANTED! Write a review about Telerik Reporting or the new Report Designer, post it on your blog and get a complimentary license for Telerik Reporting. We’ll even promote your blog and help bring you a few fresh readers. Yes, it’s that simple. And it’s free. Get started today >
0
Ravi
Top achievements
Rank 1
answered on 26 Jul 2012, 02:42 PM
Thank You steve for your response...But is there a way to hide report items in run time (page_load) and show them only when the preview button is clicked..Is there a event handler for the preview button..
or
I have a parameter drop down connected to an sql datasource..How can i make it to show a default value instead of "<select a value>"
and get the null check box besides it to be unchecked atleast for the intial page_load...
Thank you
or
I have a parameter drop down connected to an sql datasource..How can i make it to show a default value instead of "<select a value>"
and get the null check box besides it to be unchecked atleast for the intial page_load...
Thank you
0
Hi Ravi,
There is no such events exposed and as explained in my previous post, this is currently not possible directly. The possible approaches to get such behavior are also listed in the last post.
Greetings,
Steve
the Telerik team
There is no such events exposed and as explained in my previous post, this is currently not possible directly. The possible approaches to get such behavior are also listed in the last post.
Greetings,
Steve
the Telerik team
BLOGGERS WANTED! Write a review about Telerik Reporting or the new Report Designer, post it on your blog and get a complimentary license for Telerik Reporting. We’ll even promote your blog and help bring you a few fresh readers. Yes, it’s that simple. And it’s free. Get started today >
0
Ravi
Top achievements
Rank 1
answered on 01 Aug 2012, 02:56 PM
Thank you Steve.