Hello Simon,
When the readonly attribute is being set to the DatePickers through the additional attributes, the readonly state is being applied to the whole rapper instead, this leading to the described behavior.
A possible way to achieve the desired functionality is described below:
- Subscribe to the Scheduler's edit event.
- Inside the edit event get a reference to the edit window widget (setTimeout is need in order to wait for the window animation to roll out).
- Query the window wrapper element to find the desired DatePicker widgets.
- Use jQuer attr() method to add the readonly state to each DatePicker element.
In essence, the above approach could be implemented as follows:
I hope this helps you to resolve the issue.
Regards,
Dimitar
Progress Telerik