I am using the datetimepicker control on a reporting page. I set the values of two DTPs so I can get a range of data. Once I am ready, I click on Generate Report.
On the server side, I set Enabled=False so the user can not change any parameters while they are viewing the report.
The user clicks another button, New Report, to start over with new Parameters. I set Enabled=True when they click New Report.
My problem occurs when I try to re-enable the DTPs because they still appear to be "disabled" but I can still use the calendar functionality. However, when I try to run my report again after changing the date(s), the DTP reverts back to the inital selected dates before it was set to Enabled=False. I have checked my code and the DTP is doing this on its own.
Any ideas?