Mouse events not fired

4 posts, 0 answers
  1. Rogério
    Rogério avatar
    33 posts
    Member since:
    Feb 2009

    Posted 07 Apr 2009 Link to this post

    Hello,

    I'm using Telerik Slider, but I'm having some problems with mouse events.
    Events MouseLeftButtonUp and MouseLeftButtonDown are not fired when I Click between slider interval symbols!

    Regards,
    Rogério
  2. Bobi
    Admin
    Bobi avatar
    513 posts

    Posted 10 Apr 2009 Link to this post

    Hello Rogério,

    I tried to reproduce your issue but RadSlider worked correct as expected at our side.
    Can you please explain in more details or send us a sample code so that we can reproduce your problem locally and try to find a solution.

    All the best,
    Boryana
    the Telerik team

    Check out Telerik Trainer , the state of the art learning tool for Telerik products.
  3. DevCraft banner
  4. Zinc Deng
    Zinc Deng avatar
    13 posts
    Member since:
    Dec 2009

    Posted 22 Mar 2010 Link to this post

    I updated the control to  2010 Q1 and also met this problem
    My MouseLeftButtonDown does not work at all!

    xaml code is as following:
    <UserControl x:Class="CoachStation.test_Slider"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml
        xmlns:telerik="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls"
        Width="400" Height="300">
        <Grid x:Name="LayoutRoot" Background="White">
            <telerik:RadSlider SmallChange="1" x:Name="sdr_timeLine" Grid.Column="0" Grid.Row="0"  Width="710" MouseLeftButtonDown="sdr_timeLine_MouseLeftButtonDown"  MouseLeftButtonUp="sdr_timeLine_MouseLeftButtonUp"></telerik:RadSlider>
        </Grid>
    </UserControl>

    cs code is as following:
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Net;
    using System.Windows;
    using System.Windows.Controls;
    using System.Windows.Documents;
    using System.Windows.Input;
    using System.Windows.Media;
    using System.Windows.Media.Animation;
    using System.Windows.Shapes;

    namespace CoachStation
    {
        public partial class test_Slider : UserControl
        {
            public test_Slider()
            {
                InitializeComponent();
            }

            private void sdr_timeLine_MouseLeftButtonDown(object sender, MouseButtonEventArgs e)
            {
                MessageBox.Show("down");
            }

            private void sdr_timeLine_MouseLeftButtonUp(object sender, MouseButtonEventArgs e)
            {
                MessageBox.Show("up");
            }
        }
    }
  5. Tina Stancheva
    Admin
    Tina Stancheva avatar
    3298 posts

    Posted 25 Mar 2010 Link to this post

    Hi Zinc Deng,

    You can find the answer to that question in your previous thread.

    Please let us know if it helped you or if you need more info.

    Best wishes,
    Tina Stancheva
    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