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

Preview Button disabled

1 Answer 315 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
MiddleTommy
Top achievements
Rank 1
MiddleTommy asked on 16 Sep 2010, 10:15 PM
I have created a few reports with DateTime parameters. Everything work ok with the designer. Now I have a report with a long parameter. All other parameter settings are the same as with the DateTime parameter reports. When I preview the report in the designer it says I need to supply a parameter just like to other reports. I enter the parameter but the preview button is disabled and wont print. I tried re-creating the report and the same thing happens. I go back to the other reports and the preview enter parameter works. Why is the preview button disabled? If I supply a default value for the parameter all works ok.

1 Answer, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 21 Sep 2010, 04:48 PM
Hello MiddleTommy,

The DateTime Report Parameter has a default value set to today's date for the Report Designer Preview and Windows Forms Report Viewer for versions prior to Telerik Reporting Q2 SP1. On the other side if you don't want the designer to demand certain Integer parameters you have to explicitly set the AllowNull to True or add a default value. Additionally the Preview button is being enabled after you move the focus out from the parameters editor.

Greetings,
Peter
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
General Discussions
Asked by
MiddleTommy
Top achievements
Rank 1
Answers by
Peter
Telerik team
Share this question
or