Book "eats" MouseLeftButtonUp" events

4 posts, 1 answers
  1. ManniAT
    ManniAT avatar
    877 posts
    Member since:
    Nov 2003

    Posted 01 Feb 2010 Link to this post

    Hi,

    I noticed that one of my custom controls no longer works when placed inside a book.
    Investigating on this I found that book suppresses some events - at least for some controls.

    Here a simple sample:
    Snippet created with CBEnhancer
    <telerikNavigation:RadBook Width="980">
            <telerikNavigation:RadBookItem>
                <Rectangle x:Name="rCheck" MouseLeftButtonUp="rCheck_MouseLeftButtonUp" Width="100" Height="100" Fill="Gray" MouseLeftButtonDown="rCheck_MouseLeftButtonDown" />
            </telerikNavigation:RadBookItem>
            <telerikNavigation:RadBookItem>
                <TextBlock x:Name="txtOut" Text="Depp2" MouseLeftButtonUp="txtOut_MouseLeftButtonUp_1"/>
            </telerikNavigation:RadBookItem>

    Notice that the MouseLeftButtonUp event fires with the rectangle - but not with the TextBlock.
    I didn't investigate further (was hard to find this :)) but I would say - there's something wrong.
    Maybe only with textblock - or with other elements too.

    In my example it also fails with a rectangle - but this is a bit complex
    -- I assign elements as frameworkelements in OnApplyTemplate using dynamic styles....

    Anyhow - the obove sample shows the problem - I hope a fix of this will also fix my other problem.

    Regards
    Manfred
  2. Valentin.Stoychev
    Admin
    Valentin.Stoychev avatar
    2198 posts

    Posted 02 Feb 2010 Link to this post

    Hi ManniAT,

    what is the version of the assemblies that you are using? We had this problem with the Q309 assemblies, but fixed it.

    Sincerely yours,
    Valentin.Stoychev
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  3. DevCraft banner
  4. ManniAT
    ManniAT avatar
    877 posts
    Member since:
    Nov 2003

    Posted 02 Feb 2010 Link to this post

    Hi Valentin,

    I can't access pits at the moment - but anyhow - I use the latest internal builds (2009.3.1329.1030).
    The problem exists in this version -- MouseLeftButtonDOWN works - but NOT MouseLeftButtonUP.

    Just give it a try with the above sample.

    Manfred
  5. Answer
    Kiril Stanoev
    Admin
    Kiril Stanoev avatar
    1511 posts

    Posted 02 Feb 2010 Link to this post

    Hi Manfred,

    Thank you for your feedback. I've fixed the issue and the fix will be available with this week's internal build. When you download it give it a try and let me know how it works for you. I have also added 1000 Telerik points to your account.

    Kind regards,
    Kiril Stanoev
    the Telerik team

    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
    Follow the status of features or bugs in PITS and vote for them to affect their priority.
Back to Top