This is a migrated thread and some comments may be shown as answers.

Mouse events not fired

3 Answers 41 Views
Slider
This is a migrated thread and some comments may be shown as answers.
Rogério
Top achievements
Rank 1
Rogério asked on 07 Apr 2009, 04:10 PM
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

3 Answers, 1 is accepted

Sort by
0
Bobi
Telerik team
answered on 10 Apr 2009, 06:51 PM
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.
0
Zinc Deng
Top achievements
Rank 1
answered on 22 Mar 2010, 08:52 AM
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");
        }
    }
}
0
Tina Stancheva
Telerik team
answered on 25 Mar 2010, 01:25 PM
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.
Tags
Slider
Asked by
Rogério
Top achievements
Rank 1
Answers by
Bobi
Telerik team
Zinc Deng
Top achievements
Rank 1
Tina Stancheva
Telerik team
Share this question
or