scroll position / MaintainScrollPositionOnPostBack - broken in Chrome when using Cuteeditor

  •  02-26-2014, 9:45 AM

    scroll position / MaintainScrollPositionOnPostBack - broken in Chrome when using Cuteeditor

    The title says it all; I've been troubleshoot this for a while now without a solution.  I did do a search here before posting but found no recent relative posts similiar.

     

    So is there a way to have a cuteeditor on a asp.net page (version 4.5) and have the page maintain it's position on postback using Chrome?

     

    The page does have the directive

     MaintainScrollPositionOnPostBack = True

     

    and the App_browsers folder does have the following entry in the browserfixes.browser file

     

    <browsers>

        <browser id="NewBrowser" parentID="Mozilla">

            <identification>

                <userAgent match="Unique User Agent Regular Expression" />

            </identification>


            <capture>

                <userAgent match="NewBrowser (?'version'\d+\.\d+)" />

            </capture>


            <capabilities>

                <capability name="browser" value="My New Browser" />

                <capability name="version" value="${version}" />

            </capabilities>

        </browser>

        <browser refID="Mozilla">

            <capabilities>

                <capability name="xml" value="true" />

                <capability name="supportsMaintainScrollPositionOnPostback" value="true" />

            </capabilities>

        </browser>

        <browser refID="Chrome">

            <capabilities>

                <capability name="xml" value="true" />

                <capability name="supportsMaintainScrollPositionOnPostback" value="true" />

            </capabilities>

        </browser>

        <browser refID="Safari">

            <capabilities>

                <capability name="xml" value="true" />

                <capability name="supportsMaintainScrollPositionOnPostback" value="true" />

            </capabilities>

        </browser>

    </browsers>

     

     

    you can see the behavior on this page :  https://security.incident-tracker.com/_reportsubmit.aspx

     

    use chrome scroll down and click a category in step 2 (which causes a postback) and see how the position is lost

     

    I have created a simple page with just two controls, the cuteeditor and the button (to cause a postback) and indeed the behavior is replicated.

     

    The behavior is NOT replicated in new versions of IE of Firefox, just chrome

     

    it appears to be related to cuteeditor from my research

     

    please advise (I have downloaded the newest version of CE as well to make sure that wouldn't fix it and it did not)

     

    -Pat 

     

     

     

View Complete Thread