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

Date Picker inTelerik Report Parameter

1 Answer 119 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
ChungHsiang
Top achievements
Rank 1
ChungHsiang asked on 08 Jun 2017, 09:55 AM

I had set the parameter type as DateTime and put the Data source.

But in the HTML5 report viewer its showing the List view. 

But i wish to Display the Field as DateTime picker and set the max/min from the datasource. 

Any one had idea on how to achieve that ? Thanks in advanced 

1 Answer, 1 is accepted

Sort by
0
Katia
Telerik team
answered on 08 Jun 2017, 11:06 AM
Hello ChungHsiang,

Remove the value for the AvailableValues.DataSource property of the parameter. By specifying the data source for the parameter you force the parameter editor to display a dropdown with available values instead of DateTimePicker control.

The default editor for the DateTime parameter does not allow setting maximum and minimum values. The solution can be to use a custom editor - check Limit selectable date range in datetime picker forum thread for more detailed information.

If the issue if different it would be best if you attach the problematic report in a support ticket so we can check the settings of report parameter locally.


Regards,
Katia
Progress Telerik
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 Feedback Portal and vote to affect the priority of the items
Tags
General Discussions
Asked by
ChungHsiang
Top achievements
Rank 1
Answers by
Katia
Telerik team
Share this question
or