This is a migrated thread and some comments may be shown as answers.

Select a date before first postback

1 Answer 61 Views
Calendar
This is a migrated thread and some comments may be shown as answers.
Kanal8
Top achievements
Rank 1
Kanal8 asked on 04 Jul 2008, 12:18 PM
hello!

I have a problem with the date selection. The selection (on data side) works fine. But the selected date is not visible on first page load. If you hover with the mouse over the selected date is suddenly visible. Its very unconfortable for the user. ( http://sachsen-fernsehen.de/default1.aspx?ID=12&show=home ) What can I do to show the date right from the start? The dates normaly become set in Page_Load:

protected void Page_Load(object sender, EventArgs e)
{
// get the dates
ArrayList list = (ArrayList) Util.getCommParameter(CommControl.ARRAYLIST_SELECTED_DATES);

// Put it in the calender
foreach(DateTime dt in list)
{
   RadCalendar1.SelectedDates.Add(new RadDate(dt));
}
}


1 Answer, 1 is accepted

Sort by
0
Konstantin Petkov
Telerik team
answered on 07 Jul 2008, 05:30 AM
Hello Rene,

This looks like an issue with an older version of RadCalendar for ASP.NET control. The page you've pointed seems to work with v2.1.2 of RadCalendar control. Please, download and upgrade to the latest v2.1.5 and let us know if you need further assistance.

All the best,
Konstantin Petkov
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Calendar
Asked by
Kanal8
Top achievements
Rank 1
Answers by
Konstantin Petkov
Telerik team
Share this question
or