Monday, 7 March 2016

Update Panel Timeout in Chrome

Update Panel Timeout in Chrome


Use below links
https://social.msdn.microsoft.com/Forums/sqlserver/en-US/c33d4a46-87d6-4dbc-a24c-cb8e5f9eb1ea/page-refresh-after-postback-from-updatepanel-in-sharepoint-2013?forum=sharepointdevelopment


Please script on page

<script type="text/javascript">
    $(document).ready(
    function () {
        ExecuteOrDelayUntilBodyLoaded(function () {
            try {
                if (Sys.WebForms.PageRequestManager.getInstance().digestFixed !== true) {
                    Sys.WebForms.PageRequestManager.getInstance().digestFixed = true;
                    Sys.WebForms.PageRequestManager.getInstance().add_beginRequest(function () {
                        if (typeof (UpdateFormDigest) === "function" && typeof (_spPageContextInfo) === "object")
                            UpdateFormDigest(_spPageContextInfo.webServerRelativeUrl, 3 * 60 * 1000);
                    });
                }
            }
            catch (e) { }
        });
    });
</script>



No comments:

Post a Comment