Rank: Member Groups: Member
Joined: 5/30/2007 Posts: 23
|
Hello,
I am using a datepicker. I am using the DisableTextBox attribute for my datepickers, and when a date is selected, the date is shown correctly, but when clicking on the calendar and the calendar rendering again, the selected date is not being highlighted.
My EO.Web version is 5.0.59.2.
I can see in firebug that the date in question does not have the proper CSS class specified. This is in FF obviously, but the problem occurs in all browsers.
This is the setup I am using OnLoad for my datepickers(on date selection I can see that the date does not have the calendarSelectedDay class defined):
datePickerCtrl.DisableTextBox = True datePickerCtrl.CssClass = "calendar" datePickerCtrl.CalendarStyle.CssClass = "calendarStyle" datePickerCtrl.TitleStyle.CssClass = "calendarTitle" datePickerCtrl.DayStyle.CssClass = "calendarDay" datePickerCtrl.DayHoverStyle.CssClass = "calendarDayHover" datePickerCtrl.WeekendDayStyle.CssClass = "calendarDay" datePickerCtrl.WeekendDayHoverStyle.CssClass = "calendarDayHover" datePickerCtrl.SelectedDayStyle.CssClass = "calendarSelectedDay" datePickerCtrl.DisabledDayStyle.CssClass = "calendarDisabledDay" datePickerCtrl.OtherMonthDayStyle.CssClass = "calendarNoShowDay" datePickerCtrl.TitleArrowHoverStyle.CssClass = "calendarArrowHover" datePickerCtrl.FirstDayOfWeek = WebControls.FirstDayOfWeek.Sunday datePickerCtrl.AllowMultiSelect = False datePickerCtrl.DayHeaderFormat = DayNameFormat.FirstLetter datePickerCtrl.DayCellWidth = 20 datePickerCtrl.DayCellHeight = 20 datePickerCtrl.DayCellSpacing = 5 datePickerCtrl.PopupOffsetX = 3 datePickerCtrl.MonthColumns = 1 datePickerCtrl.Width = 130
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi,
We tested your code on the latest version and it works fine. So you might want to try that. Also if you can include a full test page, we will be happy to look into it and see what we can find.
Thanks!
|
Rank: Member Groups: Member
Joined: 5/30/2007 Posts: 23
|
Downloaded the latest build, and the problem was solved.
Thanks!
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Great. Thanks for the update!
|