Re: Editor.Focus = true resets cursor to top of page, not to where it was before postback

  •  08-21-2007, 11:04 AM

    Re: Editor.Focus = true resets cursor to top of page, not to where it was before postback

    Please read our messages thoroughly. It just wastes time explaining again what the problem is.
     
    I know the editor gets the focus. That's not the problem. I said it "resets cursor to TOP OF PAGE NOT TO WHERE IT WAS BEFORE POSTBACK".
     
    The cursor should go to where it was before postback, just like happens when you use client-side pop-ups like Insert Image.
     
    This example fails to restore the focus to where it was.
     
    Go to your example, type "this is test" and place the cursor before the word "is". Click the HTML tab then click the Normal tab.
     
    The cursor is NOT where it should be. The cursor goes to the top of the editor (before the word "test"), at the start instead of where it was (before the word "is").
     
    Same thing happens on postback.
     
    How to fix this bug?
View Complete Thread