CE fails to restore cursor

Last post 08-14-2007, 3:24 PM by fredd. 3 replies.
Sort Posts: Previous Next
  •  08-14-2007, 2:48 PM 32467

    CE fails to restore cursor

    Using your default configuration sample (http://cutesoft.net/example/general.aspx), add some text, leaving the cursor at the end of the text and click the [Submit] button.
     
    The cursor disappears!! This is incorrect. The cursor must always reset itself correctly to where it was.
     
    How to fix this in code?
  •  08-14-2007, 3:16 PM 32470 in reply to 32467

    Re: CE fails to restore cursor

    fredd,
     
    By default, when the page loads, Cute Editor will not take the focus of the page.  If you want to change this behaviour, try set the following property to true:
     

    Editor.Focus Property

    Specifies whether the editor grabs focus when the page loads. If this property is set to true then the editor will take focus, if it is set to false it will not.


    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

  •  08-14-2007, 3:19 PM 32471 in reply to 32470

    Re: CE fails to restore cursor

    But when used with popup, editor take focus and activates the editor page which then goes on top of popup!
     
    How to set focus in editor document body without have to set Editor.Focus=true?
     
    What about Editor.FocusDocument()? Can this method be used when Editor.Focus=false?
     
  •  08-14-2007, 3:24 PM 32473 in reply to 32470

    Re: CE fails to restore cursor

    If Editor.Focus set true, focus goes to top of page, not where it was when method called that caused postback!
     
    Focus should go to exactly where it was before the postback.
     
    How to fix this? Try it with your default config. page.
View as RSS news feed in XML