Third Generation Resources Team
Monday, June 1, 2009
How to disable some dates in Calendar control
protected void Calendar1_DayRender(object sender, DayRenderEventArgs e)
{
string date="02/01/2008";
DateTime dt = DateTime.Parse(date);
if (e.Day.Date == dt)
e.Day.IsSelectable = false;
}
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment