Hello,
I'm using a RadAjaxManager to perform an async request to the code behind. With Chrome, the page jumps to the top and then returns to the original scroll location. I'm kicking off the request via the change event of a Kendo UI DatePicker. The event calls the ajaxRequestWithTarget js function from the RadAjaxManager. Sometimes is takes 1 or 2 calendar date changes for this behavior to start. This behavior only happens with Chrome (42.0.2311.90 m). Below is an example.
Browser: Chrome (42.0.2311.90 m)
Dev Environment: Visual Studio 2013
Telerik Version: UI for ASP.NET AJAX Q1 2015
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Test.aspx.cs" Inherits="RadAjaxManagerIssue.Test" %><br><!DOCTYPE html><br><br><html xmlns="http://www.w3.org/1999/xhtml"><br> <br><head runat="server"><br> <title></title><br> <script src="//code.jquery.com/jquery-1.9.1.min.js"></script><br> <script src="http://cdn.kendostatic.com/2015.1.318/js/kendo.ui.core.min.js"></script><br> <link href="http://cdn.kendostatic.com/2015.1.318/styles/kendo.common.min.css" rel="stylesheet" type="text/css" /><br> <link href="http://cdn.kendostatic.com/2015.1.318/styles/kendo.default.min.css" rel="stylesheet" type="text/css"/><br></head><br><br><body> <br> <form id="form1" runat="server"><br> <br> <div><br> <telerik:RadScriptManager ID="rsm" runat="server"> </telerik:RadScriptManager><br> <br> <div style="padding-top: 1500px;"><br> <input id="txtMonth" runat="server" /><br> <asp:CustomValidator ID="valMonthPicker" ControlToValidate="txtMonth" ClientValidationFunction="IsValidDate" Text="*" runat="server"><br> </asp:CustomValidator><br> <input id="txtUpdatedControl" runat="server" /> <br> </div><br> </div><br> <br> <telerik:RadAjaxManager ID="ram" runat="server"><br> <AjaxSettings><br> <telerik:AjaxSetting AjaxControlID="txtMonth"><br> <UpdatedControls><br> <telerik:AjaxUpdatedControl ControlID="txtUpdatedControl" /><br> </UpdatedControls><br> </telerik:AjaxSetting><br> </AjaxSettings><br> </telerik:RadAjaxManager><br> <br> <telerik:RadCodeBlock ID="RadCodeBlock1" runat="server"><br> <script type="text/javascript"> <br> function InitiateAsyncRequest() {<br> $find('ram').ajaxRequestWithTarget('txtMonth', '');<br> return false;<br> }<br><br> function IsValidDate(source, args) {<br> var datePicker = $('#txtMonth').data('kendoDatePicker');<br> var date = datePicker.value();<br> var format = datePicker.format;<br> args.IsValid = kendo.parseDate(date, format);<br> }<br><br> $('#txtMonth').kendoDatePicker({<br> start: 'year',<br> depth: 'year',<br> format: 'MM/yyyy',<br> change: InitiateAsyncRequest<br> });<br> </script><br> </telerik:RadCodeBlock><br> </form><br></body><br></html>