protected void Calendar1_DayRender(object sender, DayRenderEventArgs e) { //Here whatever user pass the date into textbox then it will parse that date as DateTime… DateTime myDateTime = DateTime.Parse(txtUserDate.Text); if (e.Day.Date == myDateTime) { //Disable Given Date.... e.Day.IsSelectable = false; } }
You need to be a premium member to use this feature. To access it, you'll have to upgrade your membership.
Become a sharper developer and jumpstart your career.
$0
$
. 00
monthly
For Basic members:
$20
For Premium members:
$45
For Elite members: