CGDevTools Forum

Welcome to the Official CGDevTools Support Community Forums.

Only Edit Via Dropdown Calendar?

by Aggie85 » 30 Dec 2013 14:39

Howdy!

Is is possible to have a TIWCGJQDatePicker only editable via the drop down calender? That is, I don't want the user to be able to enter a date (trying to prevent stupidity)!

Happy New Year!

Aggie85
Aggie85
 
Posts: 273
Joined: 15 May 2013 02:24

by Alexander Bulei » 30 Dec 2013 15:34

Hi Aggie85,

Aggie85 wrote:Howdy!

Is is possible to have a TIWCGJQDatePicker only editable via the drop down calender? That is, I don't want the user to be able to enter a date (trying to prevent stupidity)!

Happy New Year!

Aggie85


Yes, it's possible.
Set the ReadOnly property to True and add javascript code in JQDatePickerOptions.OnBeforeShow.Script to display the popup calendar:

30-12-2013 14-32-52.png


Best Regards.
You do not have the required permissions to view the files attached to this post.
Group: Developers | Support Team

  • info [at] cgdevtools.com - General information
  • sales [at] cgdevtools.com - Sales department
  • support [at] cgdevtools.com - Product and Technical Support
User avatar
Alexander Bulei
Site Admin
 
Posts: 3635
Joined: 15 May 2012 08:52
Location: Mealhada, Portugal

by Aggie85 » 30 Dec 2013 15:50

Thanks - that works GREAT!!!!

Happy New Year!

Aggie85
Aggie85
 
Posts: 273
Joined: 15 May 2013 02:24


Return to JQDatePicker

cron

Who is online

Users browsing this forum: No registered users and 2 guests

Contact Us.