cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X

how to make date time picker as read only?

bjadhav
6-Contributor

how to make date time picker as read only?

how to make date time picker as read only?

4 REPLIES 4
ttielebein
14-Alexandrite
(To:bjadhav)

Out of curiosity, what is the use case for this? You should just have to bind data to the datetime picker widget, and not bind the datetime picker widget DateTime target to anything. Does that make sense?

Hi,

This option doesn't exist, but you can use a value display widget to show ReadOnly DateTime, and just change visibility between Value Display and DateTimePicker depending on ReadOnly state.

Carles.

bjadhav
6-Contributor
(To:CarlesColl)

ok I got it.

dupatel
19-Tanzanite
(To:bjadhav)

Hi Balkrishna,

I am not sure about your exact use case but one way to achieve read-only date time is to map DateTimePicker widget output to a TextBox and make TextBox property marked as "ReadOnly".

Durgesh

Announcements


Top Tags