Won't Fix
Last Updated: 25 Feb 2016 14:05 by ADMIN
ADMIN
Angel Petrov
Created on: 21 Nov 2013 11:09
Category: InputManager
Type: Bug Report
0
When a text box is added to the DatePickerSetting TargetControls collection in IE7 and IE8 once the popup is closed the page is scrolled to the top
It is browser bug, and the only possible fix we could do is to it by cancel the row event/stop propagation. But in this case we will broke the templates of the calendar, and they will not work anymore. Also could lead to some problems with the pickers and all places where the calendar is inside scrollable/drag-drag drop/ containers and the event need to bubble. So this will stay as limitation. In case the calendar is not used inside containers that have click interactions, this workaround is suggested for solving the issue:

var cal = Telerik.Web.UI.Calendar.CalendarView.prototype;
cal._och = cal._onClickHandler;
cal._onClickHandler = function (ev) {
    this._och(ev);
    $telerik.cancelRawEvent(ev);
}
0 comments