Rank: Newbie Groups: Member
Joined: 11/3/2008 Posts: 3
|
Hi,
I use EO Calendar on the ascx file that is single WebPart. This calendar is wrapped by EO CallbackPanel and this panel has Triggers properties set to to this calendar without parameter. All this means that when clicking on calendar especially changing month user is shown animated Loading Image and WebPart is reloaded separately while page left static.
The problem is that calendar navigation is broket at the moment when user navigates back and forth from one month to another. At some moment when user comes to some month the calendarControl.VisibleDate and calendarControl.SelectedDate properties are set to DateTime.Minimum value. This brakes all the logic and I see no way to organize month changing. For now months are changed in the OnScroll event handler:
this.calendarControl.SelectedDate = this.calendarControl.VisibleDate;
The problem dissapears when I remove reference to the Triggers property of CallbakPanel. In this case calendar is browsed properly but user is not presented LoadinProgress and AJAX callback is not performed.
Dos anybody know how to fix this? Thanks!
P.S. I experimented with ViewState on this control but it was resetted to null as well as calendarControl.VisibleDate prperty.
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi,
The problem usually occurs when the ID of the Calendar changes. Once the ID changes, everything related to the control is lost because all these data are matched by ID. So try to debug the page and see whether the ID of the whole chain has changed (for example, whether the ID of the CallbackPanel changed, or whether the ID of the parent control of the CallbackPanel changed), etc. I would also recommend you to upgrade to our latest version first, we have recently addressed several issues related to AutoPostBackOnScroll. So that may resolve your issue.
If the problem continues, try to duplicate the problem in a separate test page. We will be happy to take a look once we have that. Make sure the test page runs independently.
Thanks
|