Bug report: problem with ASP.NET 2.0 MaintainScrollPositionOnPostback

  •  06-19-2006, 10:05 AM

    Bug report: problem with ASP.NET 2.0 MaintainScrollPositionOnPostback

    Problem description: (CuteEdit 5.3, .NET Framework 2.0)

    If in the aspx page there is a parameter MaintainScrollPositionOnPostback="true", any postbacks running thru __doPostBack (e.g. <asp:linkbutton>) stop running

    EXAMPLE of the code:

    <%@ page language="c#" maintainscrollpositiononpostback="true" validaterequest="false" inherits="WebNET.Admin.AdminTest" Codebehind="AdminTest.aspx.cs" %>
    <%@ register src="~/Admin/Test.ascx" tagprefix="admin"  tagname="Test"%>
    <%@ register tagprefix="ce" namespace="CuteEditor" assembly="CuteEditor" %>

    <!doctype html public "-//w3c//dtd html 4.0 transitional//en" >
    <html>
    <head enableviewstate="false" runat="server">
        <title>WebNET administrace</title>
    </head>
    <body>
        <form id="idForm" method="post" runat="server">
            <ce:editor id="idAnnotationce" runat="server"></ce:editor>
            <asp:linkbutton id="idTest" runat="server">test</asp:linkbutton>
        </form>
    </body>
    </html>

    Thanks for any answer in advance.

    Martin
View Complete Thread