Strange Click Behaviour, Box Disables

5 posts, 0 answers
  1. Philip Ashworth
    Philip Ashworth avatar
    41 posts
    Member since:
    Dec 2009

    Posted 28 May 2010 Link to this post

    Hi,

    Has anyone else seen this behaviour.

    Page loads, richtextbox has the focus and I can directly type into it. If I click off the textbox (onto another control) and then back onto the textbox the cursor disappears, if I double click the typed text it will highlight but if I try to type over it nothing happened's. I have to randomly click around the textbox to get it to display the cursor and edit the text.
    It is like the textbox goes into readonly mode on loss of focus but when focused again it doesn't come out of readonly mode?

    Thanks Phil.
  2. Philip Ashworth
    Philip Ashworth avatar
    41 posts
    Member since:
    Dec 2009

    Posted 28 May 2010 Link to this post

    Just discovered that this only happened's if the richtextbox is within a ScrollViewer!

    No help required now.
  3. DevCraft banner
  4. Mike
    Admin
    Mike avatar
    640 posts

    Posted 31 May 2010 Link to this post

    Hi Philip Ashworth,

    Currently we have an issue related to focusing RadRichTExtBoix when it is added to ScrollViewer. What happens here is that ScrollViewer handles MouseLeftButtonDown event internally and takes the focus away form the RadRichTextBox control.


    You can workaround this behavior by attaching to the MouseLeftButtonDown event of RadRichTextBox in your UserControl and mark it as handled. This way the event will not bubble to the ScrollViewer. Here is a code snippet of how this can be done:

    Copy Code
    void editor_MouseLeftButtonDown(object sender, MouseButtonEventArgs e)
    {
        e.Handled = true;
    }

    If you have more questions or suggestions, please don't hesitate to contact us.

    Greetings,
    Mike
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
  5. Rich Reuter
    Rich Reuter avatar
    14 posts
    Member since:
    Aug 2012

    Posted 19 Jul 2010 Link to this post

    I'm still having the same issue as described in the first message in the thread.  I'm using the recently released Q2/2010 version.  I've got the RadRichTextBox in ScrollViewer that in a RadWindow.  I tried the workaround but it didn't work. Is there anything else that can be done?  The scrollable RadWindow is a pretty big part of our interface and I'd have a hard time not having the editor in one of those windows.
    Thanks,
    Rich
  6. Mike
    Admin
    Mike avatar
    640 posts

    Posted 20 Jul 2010 Link to this post

    Hi Rich Reuter,

    We are very sorry for the inconvenience. We confirm the issue is still present in Q2 release.  Will fix the problem immediately and the fix will be available in the latest internal build expected this Friday. If you open a support ticket we can discuss how you can get this version.

    Best wishes,
    Mike
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Back to Top
DevCraft banner