﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
8712	CKEditor.NET 3.6.1: ASP.NET MaintainScrollPositionOnPostback=true does not work for links after update panel if CKEditor is present on page	dpomt2	kaga	"In ASP.NET there is a page directive to enforce scroll position after (either full or partial) postback. 
Scroll position is wrong if postback is triggered by a link button that is located aftern an update panel and if there is a CKEditor.NET control on the page. If you remove the CKEditor.NET control, scroll position is correctly after postback.

To Reproduce, create web site with ckedior in subdirectory, reference to CKEDitor.NET control and create a srolltest.aspx page with the following content. Display the page, scroll to the botton of the page and hit the link. Postback will be done and scroll position is wrong after postback. Repeat the test after removing the CKEDITOR.NET control from the aspx and scroll position will be ok.



{{{
<%@ Page Language=""C#"" AutoEventWireup=""true"" CodeFile=""scrolltest.aspx.cs"" Inherits=""scrolltest""
    MaintainScrollPositionOnPostback=""true"" %>

<!DOCTYPE html PUBLIC ""-//W3C//DTD XHTML 1.0 Transitional//EN"" ""http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"">
<html xmlns=""http://www.w3.org/1999/xhtml"">
<head id=""Head1"" runat=""server"">
    <title></title>
</head>
<body>
    <h1>
        Scroll-Test</h1>
    <form id=""form1"" runat=""server"">
    <asp:ScriptManager ID=""ScriptManager1"" runat=""server"" EnablePartialRendering=""true"">
    </asp:ScriptManager>
    <CKEditor:CKEditorControl ID=""TextBox1"" Text='y' runat=""server"" Width=""800"" PasteFromWordCleanupFile=""true""
        PasteFromWordNumberedHeadingToList=""True"" PasteFromWordPromptCleanup=""True"" PasteFromWordRemoveFontStyles=""True"">
    </CKEditor:CKEditorControl>
     
        <br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br />
        
        <asp:LinkButton ID=""LinkButton1"" runat=""server"">DoPostback 1</asp:LinkButton><br />
        <br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br />
        <br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br />
        <asp:LinkButton ID=""LinkButton4"" runat=""server"">psotback before upd-panel</asp:LinkButton>
        <asp:UpdatePanel ID=""up"" runat=""server"" UpdateMode=""Conditional"">
            <ContentTemplate>
                <h2>
                    UpPanel</h2>
                <asp:LinkButton ID=""LinkButton2"" runat=""server"">Async Postback im Upd.Panel</asp:LinkButton>
            </ContentTemplate>
        </asp:UpdatePanel>
        <asp:LinkButton ID=""LinkButton3"" runat=""server"">DoPostback-after-up-panel 1</asp:LinkButton>
        <br /><br /><br /><br /><br /><br />
        
    </div>
    <h2>
        Kurz vor Ende Form</h2>
    <asp:LinkButton ID=""lb"" runat=""server"">DoPostback-after-up-panel 2</asp:LinkButton>
    </form>
    <br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br />
    
</body>
</html>


}}}



Any help is greatly appreciated. Thanks.
"	Bug	review	Normal		Server : ASP.Net	3.6.1			
