This is a migrated thread and some comments may be shown as answers.

Web Report Viewer allows Export when Required Parameters are not populated

2 Answers 31 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Michael Love
Top achievements
Rank 1
Michael Love asked on 15 Dec 2009, 05:42 PM
Hi there.

I just noticed that in the web report viewer, that you are able to export a report without entering any required data. Is there a way to prevent this?

Thanks, MIke

2 Answers, 1 is accepted

Sort by
0
Steve
Telerik team
answered on 16 Dec 2009, 03:17 PM
Hi Michael Love,

This is hardly a real life scenario, as users require specific info to be displayed and exported and for that they have to select a parameter value. If a parameter is not selected, a warning sign is shown to hint you that a value should be selected as well as error message: "Please input data for all parameters". Under what circumstances would you continue and try to export after this point?


All the best,
Steve
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Michael Love
Top achievements
Rank 1
answered on 16 Dec 2009, 03:50 PM
I agree that it is not a normal scenario. I just noticed the issue because my code was expecting there to be a parameter set and I received an exception. It just seems like the export command should work like the Preview command.

My 2 cents, Mike
Tags
General Discussions
Asked by
Michael Love
Top achievements
Rank 1
Answers by
Steve
Telerik team
Michael Love
Top achievements
Rank 1
Share this question
or