Author: Sheetal.Bhatt | Posted on: 12/10/2009 2:28:25 AM | Views : 279

Hello Everybody,
I have to display Calendar between Specific dates, i achieved that.
But now my problem is that Month starting date not displayed in Currect Day
E.g.  December 1st start from Tuesday, but date displayed in Monday of December,
While Selecting date, it shows currect day as Tuesday.
Users get confused for the wrong display of day and date.
Given below is my code for DayRender:
protected void EventCalendar_DayRender(object sender, DayRenderEventArgs e)
{
                DateTime dtMin = Convert.ToDateTime(ds.Tables[0].Rows[0]["StartDate"].ToString());
                DateTime dtMax = Convert.ToDateTime(ds.Tables[0].Rows[0]["EndDate"].ToString());

              &n ...

Go to the complete details ...