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

Slider is not working properly inside Viewbox

3 Answers 77 Views
Slider
This is a migrated thread and some comments may be shown as answers.
Muthukumar
Top achievements
Rank 1
Muthukumar asked on 15 May 2012, 01:49 PM
hi team,
i am using telerik Radslider version 2011.2.712.1040. i have Main page with Viewbox.
i have my RadSlider control as seperate user control. simply i have added this usercontrol to Mainpage with in the viewbox.
then the slider is behaving wrongly. if i dont have the viewbox it will work nicely. i have attached the sample project with this post.
Please review this and give me a good solution. but i am in need to put the viewbox in my page. how to i get work my Radslider 
within the viewbox.

i cannot attach my project zip so i have added the sample code here.
<UserControl x:Class="OnDataLoaded.MainPage" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation">
    <Grid x:Name="LayoutRoot" Background="White">
        <Viewbox>
        <telerik:RadSlider x:Name="radslider1" Minimum="2010" Maximum="2021"  IsMoveToPointEnabled="True" IsSnapToTickEnabled="True"
                Value="2012" TickPlacement="Both" Width="500"
                HandlesVisibility="Visible" TickFrequency="1" VerticalAlignment="Center"
                Margin="50"     />
        </Viewbox>
    </Grid>
</UserControl>


Thanks,
Muthu





3 Answers, 1 is accepted

Sort by
0
Petar Mladenov
Telerik team
answered on 18 May 2012, 06:55 AM
Hello Muthukumar,

 Could you please elaborate more on your exact issues when you place the RadSlider in ViewBox?
We tried to reproduce any issue with 2011 Q2 version of RadControls and your code. You can check our captured video showing how we test and let us know if we have missed something. Thank you in advance.

Greetings,
Petar Mladenov
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

0
Muthukumar
Top achievements
Rank 1
answered on 18 May 2012, 07:11 AM
hi Petar Mladenov ,
i saw your video and i can elaborate  my issue. IsMoveToPointEnabled="True" and IsSnapToTickEnabled="True"  these functionalities are not working properly when the radslider placed inside the viewbox in version which i mentioned previously(2011.2.712.1040). Once the slider loaded,it is behaving wrongly When you click on the track or clicks. if i am in 2010 then just click on 2020 it is not working on that time. Although i have cross checked with the other version of telerik.window.control and there is no issues and i haven't reproduce this issue.

Check this scenario,let me know if you have anymore questions i can explain them.

if you can reproduce this give me any other alternate solution. but i am in need to use viewbox.


thanks,
Muthu


0
Petar Mladenov
Telerik team
answered on 23 May 2012, 06:53 AM
Hello Muthukumar,

 We managed to reproduce this issue in the Q2 2011  version of RadSlider. However, the good news is that this is fixed in the Q1 2012 and we strongly recommend you to upgrade. First, we are not aware of existing workaround in Q2 2011. Second, it out of our support scope to fix an old version of RadControls. And last, we can always help you upgrade to the latest version. We saw you have downloaded Q1 2012. Is it possible for you to upgrade?

All the best,
Petar Mladenov
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Tags
Slider
Asked by
Muthukumar
Top achievements
Rank 1
Answers by
Petar Mladenov
Telerik team
Muthukumar
Top achievements
Rank 1
Share this question
or