Current filter:
                                You should refresh the page.
                                  • Hi Experts,
                                    I am working on to allow user to select a time range by using Rangecontrol.
                                    However sometime I see some special icon even though it has valid data ranges.
                                    I have attached one image, Pls check No 15 and No. 45 . Some time it works fine, sometime the same file selection behaves like this.
                                    I have attached xaml code, If I have done something wrong, please correct me inorder to fix the issue.


                                    <DataTemplate x:Key="CompactRowTemplate"> <ContentControl> <Grid> <Grid.ColumnDefinitions> <ColumnDefinition Width="Auto"/> <ColumnDefinition Width="*"/> </Grid.ColumnDefinitions> <Border BorderThickness="0,0,0,1" BorderBrush="Gray"> <TextBlock Text="{Binding Row.FileRecoveryItem.Name}" VerticalAlignment="Center" HorizontalAlignment="Left" Margin="2.0"/> </Border> <dxe:RangeControl Grid.Column="1" Margin="5,0" RangeStart="{Binding Row.StartDateTime}" RangeEnd="{Binding Row.EndDateTime}" AllowZoom="False" SelectionRangeStart="{Binding Row.RangeStart, Mode=TwoWay}" SelectionRangeEnd="{Binding Row.RangeEnd, Mode=TwoWay}" > <dxe:RangeControl.Client> <rangeControlClient:DateTimeChartRangeControlClient ThumbLabelFormatString="{}{0:yyyy/MM/dd HH:mm:ss}" ItemsSource="{Binding Row.RangeChartCollections}" ArgumentDataMember="Argument" ValueDataMember="Value" GridSpacing="2" GridAlignment="Second" ShowArgumentLabels="False" > <rangeControlClient:DateTimeChartRangeControlClient.View> <rangeControlClient:RangeControlClientAreaView/> </rangeControlClient:DateTimeChartRangeControlClient.View> </rangeControlClient:DateTimeChartRangeControlClient> </dxe:RangeControl.Client> </dxe:RangeControl> </Grid> </ContentControl> </DataTemplate>
                                • Ivan (DevExpress Support) 12.03.2019


                                  Your implementation looks correct. Please check the actual value of RangeControl properties (RangeStart, RangeEnd, etc.) when the issue occurs and send them to us. You can check these property values using Snoop or Live Visual Tree. As ViewModel properties might have different values when the issue occurs, please check them as well.

                                  Also, please make sure that these extra buttons appear within the RangeControl (you can do this using the same tools) and check if your application contains templates with these elements.

                                  I look forward to your response.

                                • YOO JOOSUN 12.05.2019

                                  Hi, Thank you. I replaced with Fileview, it does not show that circle icon.
                                  But while working Datetime chart range control by putting gridAlignment as "second" It takes while to load a big range file.
                                  So I changed it to "auto". loading performance is okay, but it always allows user to select by date.

                                  Is there anyway user can select a date range by second when the duration is small. like a collection of 2 days data.
                                  and the same configuration may work for a one year data. when user to prefer to select range by days or months.

                                  or we can fix it by applying number of grid alignment, like without considering duration of the source collections, it will draw 20 grid lines on the chart for selections.

                                  What is the best way to solve this problem while using Rangecontrol to allow user to select a range despite of size of the collections.


                                • André (DevExpress Support) 12.05.2019


                                  Would you please send us a sample project with your chart client source demonstrating the performance issue, so that we can investigate it on our side?

                                0 Solutions

                                Creation Date Importance Sort by