how to programmatically open / close dtDateTime?
how to programmatically open / close dtDateTime?
I have a new page that has a dtDateTime. To make this page look like rest of site, I need to have a litle calendar icon next to the textbox, clicking on it would open the datetime (rest of site using jquery-ui datetpicker).
How to programatically show / hide? And are there on-show / on-hide events?
This discussion has been closed.
Answers
We have a method to hide the instance, but not to show it.
However, you could just trigger a focus event on the input that it is attached to which would cause it to appear.
There are no corresponding events yet I'm afraid.
Allan
Is this with Editor? Or is the DateTime field being used in isolation? If you could link to your page or create a test case, that would help understand your issue. Information on how to create a test case (if you aren't able to link to the page you are working on) is available here.
Cheers,
Colin