Slider is not working properly inside Viewbox

4 posts, 0 answers
  1. Muthukumar
    Muthukumar avatar
    15 posts
    Member since:
    Oct 2011

    Posted 15 May 2012 Link to this post

    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





  2. Petar Mladenov
    Admin
    Petar Mladenov avatar
    2891 posts

    Posted 18 May 2012 Link to this post

    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 >>

  3. DevCraft banner
  4. Muthukumar
    Muthukumar avatar
    15 posts
    Member since:
    Oct 2011

    Posted 18 May 2012 Link to this post

    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


  5. Petar Mladenov
    Admin
    Petar Mladenov avatar
    2891 posts

    Posted 23 May 2012 Link to this post

    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 >>

Back to Top