Hi
I hope this is a simple question; I copied the xaml from the online sample and it displays fine, but the thumbs wont move. They start out where I set them but I can't move them at all. Any thoughts?
Which sample did you copy from? Does it have the min / max values set for the slider? What kind of slider are we talking about?
I'm having the same problem. I went one step further and started over reading the online documentation and adding each element one at a time. I have not been able to get the thumbs to move at all. Did you find an answer?
Thanks, Gregg
Hi,
I've noticed that you use the XamSliderDateTimeThumb IsSnapToTickEnabled property set to True. If you don't intend to move the thumbs via the keyboard arrows keys, remove it to achieve smooth thumb drag.
If this is your entire code, it works fine. Even with this property set to True, the thumbs can be moved. They just get snaped to the tick marks on the slider track.
I tried out your sample with the release version of the dlls and did not see the behavior you are talking about (see attached sample).
Do you ahve anything on the form that might be grabbing the mouse input ? Is the containing container disabled?
Hi Darrell
Thanks for the reply. I'm using version v10.2 of the control, VS 2010, and IE 8. Here is the xaml that I have so far:
<ig:XamDateTimeRangeSlider
x:Name="DateSlider"
MinValue="1/1/2004"
MaxValue="12/31/2010"
Grid.Row="1"
VerticalAlignment="Center">
<!--TODO: Add DateTimeSliderTickMark objects to the TickMarks collection-->
<ig:XamDateTimeRangeSlider.TickMarks>
<ig:DateTimeSliderTickMarks TickMarksFrequency="1" IncludeSliderEnds="True" FrequencyType="Years" UseFrequency="True" />
<!-- Year below the tickmark-->
<ig:DateTimeSliderTickMarks TickMarksFrequency="1" IncludeSliderEnds="True" FrequencyType="Years" UseFrequency="True">
<ig:DateTimeSliderTickMarks.HorizontalTickMarksTemplate>
<DataTemplate>
<TextBlock Text="{Binding Year}" Margin="0,20,0,0" />
</DataTemplate>
</ig:DateTimeSliderTickMarks.HorizontalTickMarksTemplate>
</ig:DateTimeSliderTickMarks>
</ig:XamDateTimeRangeSlider.TickMarks>
<!--TODO: Add xamSliderDateTimeThumb objects to the Thumbs collection-->
<ig:XamSliderDateTimeThumb Value="1/1/2005" InteractionMode="Free" ToolTipVisibility="Visible" IsActive="True" IsDragEnabled="True" IsSnapToTickEnabled="True" >
</ig:XamSliderDateTimeThumb>
<ig:XamSliderDateTimeThumb Value="1/31/2007" InteractionMode="Free" IsActive="True" IsDragEnabled="True" IsSnapToTickEnabled="True" />
</ig:XamDateTimeRangeSlider>
Thanks for your help!
Gregg
Gregg,
What version of the control are you using? What IDE are you using? What browser are you using?
I just tried with the steps provided, and the slider thumb works fine.
Can you provide a sample showing what you have?