| |

VerySource

 Forgot password?
 Register
Search
View: 543|Reply: 2

How to disable the calendar control to select a date that has not arrived yet

[Copy link]

1

Threads

2

Posts

3.00

Credits

Newbie

Rank: 1

Credits
3.00

 China

Post time: 2020-1-23 18:40:02
| Show all posts |Read mode
How to disable the calendar control to select a date that has not arrived yet!
It doesn't seem to be in the properties.
Reply

Use magic Report

0

Threads

64

Posts

35.00

Credits

Newbie

Rank: 1

Credits
35.00

 United States

Post time: 2020-2-8 15:30:01
| Show all posts
In the DayRender event handler, write:
  if (judge e.day.Date should be disabled)
    e.Cell.Enabled = false; // or .Visible = false;
Reply

Use magic Report

1

Threads

2

Posts

3.00

Credits

Newbie

Rank: 1

Credits
3.00

 China

 Author| Post time: 2020-3-13 09:45:01
| Show all posts
Thank you
Reply

Use magic Report

You have to log in before you can reply Login | Register

Points Rules

Contact us|Archive|Mobile|CopyRight © 2008-2023|verysource.com ( 京ICP备17048824号-1 )

Quick Reply To Top Return to the list