I’ve had a look around, once again and can’t find how to set the minimum and maximum dates allowed to be selected on a calendar in ASP.net with VB.
I’m using Visual Studio 2010 and it’s just a regular Calendar control at the moment…
At the moment I’ve seen things like:
Calendar1.DateMin = DateTime.Now
But Visual Basic doesn’t seem to like that (maybe it’s a C# thing?)… Anyway, if there’s a way to do this it’ll be a great help!
You need to handle the Calendar’s
DayRenderevent:Then you can set it for example in
Page_Load: