you can use the regular .net calendar control
try using the Calendar1_DayRe nder event
Sample code *************** *******
private void Calendar1_DayRe nder(object sender,
System.Web.UI.W ebControls.DayR enderEventArgs e)
{
if ( e.Day.Date.Year < DateTime.Now.Ye ar)
{
e.Cell.Enabled = false;
e.Cell.Style.Ad d("cursor","n ot-allowed");
}
if (e.Day.Date.Yea r == DateTime.Now.Ye ar)
{
if (e.Day.Date.Mon th == DateTime.Now.Mo nth)
{
if (e.Day.Date.Day < DateTime.Now.Da y)
{
e.Cell.Enabled = false;
e.Cell.Style.Ad d("cursor","n ot-allowed");
// e.Cell.Enabled = false;
}
}
if (e.Day.Date.Mon th < DateTime.Now.Mo nth)
{
e.Cell.Enabled = false;
e.Cell.Style.Ad d("cursor","n ot-allowed");
}
}
}
"David C" wrote:
I am looking for some kind of calendar view control that I can show
hyperlinks to records in day cells. This is to be used for showing
scheduled events and people can see events in a calendar view and click on
links to view details of events.
Is there one out there? Thanks.