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

SharedCalendar causes page to scroll to top

1 Answer 66 Views
Calendar
This is a migrated thread and some comments may be shown as answers.
Stewart Partington
Top achievements
Rank 1
Stewart Partington asked on 29 Jan 2009, 02:53 PM
We have a RadGrid which has inform edit controls. Each inform edit control has a radDatePicker. This caused the pages to be fairly heavy, so we started using the SharedCalendar property of the radDatePicker to pass in an instance of a RadCalendar. The pages are now lighter, and the RadDatePicker and RadCalendars work without a hitch.

However, each time a date is picked on the RadCalendar, the page scrolls to the top. So in order to mitigate this behaviour, hooked a function up to the OnPopupOpening event to get the pages scroll position. Then a function is hooked up the OnPopupClosing event to reset the pages scrolling position. This does not work. After the OnPopupClosing function fires, the telerik assemblies run several functions. Somewhere along the way, the pages scroll position gets set back to the top (we stepped through the assemblies with a watch setup on the document.body.scrollTop property).

Unfortunately, no client side events are exposed after the assemblies finish executing. We consider this a significant bug. Would you be able to fix this in the near future?

Thanks,

Stew

1 Answer, 1 is accepted

Sort by
0
Sebastian
Telerik team
answered on 02 Feb 2009, 03:35 PM
Hello Stewart,

I believe that the issue you depicted has been addressed in the latest version 2008.3.1314 of RadControls for ASP.NET AJAX. Can you please migrate to this version of the suite following the steps from here to see whether this helps?

If the issue remains, please prepare a stripped working version of your project and send it enclosed to a formal support ticket. We will examine your implementation in detail and will get back to you with more info on the subject.

Best regards,
Sebastian
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Calendar
Asked by
Stewart Partington
Top achievements
Rank 1
Answers by
Sebastian
Telerik team
Share this question
or