I am stumped on this one.
On a very tall page, scroll to the bottom of the page then change the month in the scheduler. I have found that in IE, Safari, and Chrome the entire page will shift (jump) to the top of the page changing the scroll position. Then after a pause set the focus back on the scheduler.
The strange part is that if I take out the RequiredFieldValidator the page does not shift (jump). Rather the month changes and the page stays at the same scroll position.
Can a single RequiredFieldValidator truly be causing the bug?
Any help would be appreciated.
Thanks,
Felipe
<%@ Page Language="C#" AutoEventWireup="true" %> |
<%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %> |
<html xmlns="http://www.w3.org/1999/xhtml"> |
<head runat="server"> |
<title></title> |
<style type="text/css"> |
.rsToday, .rsDatePickerActivator |
{ |
visibility:hidden !important; |
} |
</style> |
</head> |
<body> |
<form id="form1" runat="server"> |
<asp:ScriptManager ID="sm" runat="server"></asp:ScriptManager> |
<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server"> |
<AjaxSettings> |
<telerik:AjaxSetting AjaxControlID="scheduler"> |
<UpdatedControls> |
<telerik:AjaxUpdatedControl ControlID="scheduler" /> |
</UpdatedControls> |
</telerik:AjaxSetting> |
</AjaxSettings> |
</telerik:RadAjaxManager> |
<table cellpadding="0" cellspacing="0" border="1"> |
<tr><td style="height:900px"></td></tr> |
<tr> |
<td> |
<telerik:RadTextBox ID="txt" runat="server"></telerik:RadTextBox> |
<asp:RequiredFieldValidator ID="val" runat="server" ControlToValidate="txt" Text="*" ErrorMessage="" Display="Dynamic" InitialValue="1"></asp:RequiredFieldValidator> |
</td> |
</tr> |
<tr> |
<td> |
<telerik:RadScheduler runat="server" ID="scheduler" SelectedView="MonthView" DataRecurrenceField="none" DataRecurrenceParentKeyField="none" DataKeyField="none" DataSubjectField="none" DataStartField="none" DataEndField="none"> |
</telerik:RadScheduler> |
</td> |
</tr> |
</table> |
</form> |
</body> |
</html> |
On a very tall page, scroll to the bottom of the page then change the month in the scheduler. I have found that in IE, Safari, and Chrome the entire page will shift (jump) to the top of the page changing the scroll position. Then after a pause set the focus back on the scheduler.
The strange part is that if I take out the RequiredFieldValidator the page does not shift (jump). Rather the month changes and the page stays at the same scroll position.
Can a single RequiredFieldValidator truly be causing the bug?
Any help would be appreciated.
Thanks,
Felipe