Telerik Forums
UI for WPF Forum
1 answer
108 views

Hello,

This is related to https://www.telerik.com/forums/samplingunit-of-none-does-not-disable-sampling, but I think a bit more specific of an issue.

I enable Data Sampling with a DateTime-based series by applying a ChartDataSourceStyle. Once I do this, sampling is always applied, even if my threshold allows all data points to be shown - it still goes through to sampling process.

 

I tried setting the ChartDataSourceStyle to null, expecting sampling to be disabled, but instead the previously-used sampling settings remained applied.  For instance, I may have my sampling set to a 5-minute interval, then when I zoom in to a small enough range to set the ChartDataSourceStyle to null, and my data remains sampled at 5-minute intervals.

 

When profiling my application, it appears that ChartSeriesDescriptor.OnChartDataSourceStyleChanged() ignores a change to a null style, and leaves the series descriptor bindings unchanged.  However, ChartSeriesDescriptor.BindItemsSource() does include a check for a null style, and if so binds directly to the ChartSeries rather than the ChartDataSource. Should the null check in ChartSeriesDescriptor.OnChartDataSourceStyleChanged() be removed?

 

Thanks,

 

Brandon

 

Dilyan Traykov
Telerik team
 answered on 24 Mar 2021
1 answer
63 views
hello,

we have an issue with RadScheduleView control 
1) we schedule slots of 8 min interval when we scroll down to 11:56 am slot.
on that slot we found bug when we select that slot, half part of that slot get selected not full slot.
that's why our booking mismatch from slot and UI getting thin of that booking 
check following screen shot and video for this bug
we need solution on this bug because this bug found on every day on our RadScheduleView control
and send me the solution on email 
Vladimir Stoyanov
Telerik team
 answered on 24 Mar 2021
1 answer
79 views
hello,

we have an issue with RadScheduleView control 
1) we schedule slots of 8 min interval when we scroll down to 11:56 am slot.
on that slot we found bug when we select that slot, half part of that slot get selected not full slot.
that's why our booking mismatch from slot and UI getting thin of that booking 
check following screen shot and video for this bug
we need solution on this bug because this bug found on every day on our RadScheduleView control
and send me the solution on email 
Vladimir Stoyanov
Telerik team
 answered on 24 Mar 2021
1 answer
176 views
I have several LineSeries on a RadCartesianPlot.  When the user selects one of the series, I want to ensure that series is drawn on top of the others, so I would like to set its ZIndex property in a Style Trigger like this:

<Style TargetType="telerik:LineSeries">
    <Style.Triggers>
        <Trigger Property="IsSelected"
                 Value="True">
            <Setter Property="ZIndex"
                    Value="999"/>
        </Trigger>
    </Style.Triggers>
</Style>

However, I cannot set the ZIndex property via a Setter because it is not a DependencyProperty.  This post (https://www.telerik.com/forums/setting-zindex-when-using-chartseriesprovider) has a similar issue, and the recommended solution is to create an attached property, but this seems like something that should "just work".  In fact, some other posts show setting the ZIndex in a Setter as if it should work (https://www.telerik.com/forums/seriesprovider-and-series-display-order).  Can the ZIndex property be changed to a DependencyProperty so we don't have to implement a workaround to use it in a Trigger?
Dinko | Tech Support Engineer
Telerik team
 answered on 24 Mar 2021
6 answers
690 views

Hello,

how would I go about if I wanted the RadAutoCompleteBox to show all items if the SearchText is empty instead of no items at all?

I had my desired behaviour already implemented using the RadComboBox, which was perfectly fine, despite the fact that I'm dealing with mutliple thousands of items easily and the AutoCompleteBox seems to deal with those amounts of items better than the ComboBox.

What I want is a AutoComplete box that opens upon getting the focus (or upon pressing Ctrl + Space). If the SearchText is populated I want the dropdown to contain the filtered list. But if the SearchText is empty I want the dropdown to show all the entries. Currently it shows none.

To open the dropdown on focus and on ctrl+space is not the problem. Only the contents of the dropdown.

I found guides for silverlight (https://www.telerik.com/forums/display-all-items-on-focus) aswell asp.net (https://www.telerik.com/support/kb/aspnet-ajax/autocompletebox/details/show-all-records-when-focusing-the-input-element-of-autocompletebox) but was not able to adept those solutions fopr WPF.

Martin Ivanov
Telerik team
 answered on 23 Mar 2021
0 answers
104 views

Hello,

 

I had made a custom filter in unbound mode for some properties. Boolean properties and enum properties works well, but im trying to filter a proerrty of List<string>. I have made the ItemPropertyDefinition correctly and shows well in the data filter, and I cant select from multiple values, but when I select a value, it does not filter.

 

Is there any event where I can manipulate the filtering condition? To do something like:

itemsource[x].ListProperty.Any((value) => String.Equals(value, filterSelectedValue));

 

Or is other way to solve it?

 

Thank you and kind regards!

MaiK
Top achievements
Rank 1
Iron
 asked on 23 Mar 2021
6 answers
144 views

Hi,

we have a gridview and with this we have local filtering and sort, but in some columns we have implemented a custom filter.

The thing is when the user clicks on the "Clear Filter" we need to execute some other code, is there any way to differentiate that the user clicked on the "Clear Filter" button?

 

 

 

regards!

Maximiliano
Top achievements
Rank 1
Veteran
 answered on 22 Mar 2021
12 answers
1.2K+ views

I don't know if it's related to my last post: https://www.telerik.com/forums/radopenfolderdialog-generate-a-lot-of-exception

But that dialog is not usable if it's slow like that.  (see video compare to standard windows explorer, https://send.firefox.com/download/9e9308b253d19daf/#Xz4Pj9NHmh7NnG95iTlRRw)

 

I have a GetForce RTX 2080, I have 4k monitors and I use Windows 1903.  And I use WPF UI 2019.3.1023.45

Dilyan Traykov
Telerik team
 answered on 22 Mar 2021
1 answer
173 views

Hi,

Im using RadDatepicker for from date and to date, In from date, im using DisplayDateEnd as ValidTo and in to date, im using DisplayDateStart as ValidFrom, its works fine based on the date selection of valid from and valid to, but how can i see the dates which are not visible.

I want to see the dates in calender with disabled mode of past and future dates.

Thanks,

Karthick.

Dilyan Traykov
Telerik team
 answered on 22 Mar 2021
7 answers
143 views

Good afternoon.
We have a diagram (Tree Layout). Our diagram consists of separate sub-diagrams with no connection between them. Why does the last item automatically go to the second row (in the attach file, it is highlighted in red)? Could you tell me how this can be avoided? We need all the sub-diagrams to be placed in one line.

 

 

Andrei
Top achievements
Rank 1
 answered on 22 Mar 2021
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?