I am trying to use the RadSlider to allow the user to choose the number of Millimeters on an interface, I don't need fractions at all, but I can't figure out how to get the RadSlider to snap to whole numbers when they drag the slider. If anyone has an example of how to do this it would be much appreciated.
thanks!
Hi
I have a function that changes two properties. Using MVVM.
Both working fine if i set a property one at a time. If i run them in same function the order is still right of calling the DependencyProperties.
Although the ScrollIntoViewAsync gives a ScrollFailedCallback in this scenario and it is not scrolled to the item.
My guess is that the items are still filtered, hence it cannot be scrolled to the desired item.
Any ideas to solve this?
Thank you in advance
Hi,
I have some dropdown cells in the grid and the filter for those columns is showing the dropdown values, how do I make the editor checkbox labels display the dropdown displaymember instead? Is there a sample project somewhere demonstrating this?
Thanks,
Maurice
Hi,
I've been reading as much as I can on how to theme controls.
In particular, I wanted to react to this article:
https://www.telerik.com/blogs/xaml-theming-implicit-styles-versus-stylemanager
One of the cons that isn't mentioned for implicit styles, is that when you want to create a new style, you have to use BasedOn, otherwise nothing will be rendered.
That is not what happens for regular WPF controls, because they still have their default (or theme) style applied. A custom style then only extend the default style, and if you want to disregard it altogether, you can set OverridesDefaultStyle to True.
I have 2 questions:
1. "Implicit styles for Telerik controls can’t be used if the application theme is set to other than the default Office_Black theme." => That is not something that I have observed. Using the 2019.2.510 Xaml packages, whichever theme I set is still honored when I create custom implicit styles. For example if I write this:
<Style TargetType="telerik:RadButton">
<Setter Property="FontWeight" Value="Bold" />
</Style>
Then the buttons will have a Bold text and still apply the rest of my current theme set by StyleManager, whether it's Office_Black, Office2016, Green or anything else.
Could you explain what you meant, or if it is outdated and implicit styles are now supported with StyleManager?
2. Why was support for the built-in WPF mechanism for theming not adopted? If in the AssemblyInfo.cs if your NoXaml assemblies you set ExternalAssembly for the first parameter of ThemeInfo, then it would be possible for your customers to create a Generic assembly (e.g. Telerik.Windows.Controls.Generic) that contains the Themes/Generic.xaml that merges whichever theme they choose, and even further customize the theme. And/or for customers who don't want to customize the themes, you could directly provide those Generic theme assemblies in packages for each theme. Therefore, you'd have the best of both worlds as to apply the theme, customers would only need to reference the appropriate Generic assembly, and they'd have implicit styling support without having to specify BasedOn on all their custom styles.
Thanks in advance for any clarification
I use Radmap for displaying trail in realtime
the problem is that clearing the data takes too much time (if there are more than 3000 items)
This is part of my code:
<telerik:RadMap....>
<telerik:VirtualizationLayer Visibility=True ItemsSource="{Binding LocationVMs}", ItemTemplate="{DynamicResource LocationTemplate}"/>
</telerik.RadMap>
Item template is:
<DataTemplate x:key="LocationTemplate">
<Ellipse telerik:MapLayer.Location="{Binding Model.Location}" Fill="Red" Width="2" Height="2"/.
</DataTemplate>
LocationVMs is list of MapLocationEntity that contains one Property named Location (its type is telerik.Windows.Controls.Map.Location)
in clearing I Clear LocationVMs list- and that causes to stack the system
(if I set VirtaulizationLayer to visibility=Collapsed the system is not stack after clearing the locationVMs list - so I know that the problem is during telrrik try to remove all the trail from the map)
Thanks
Hi,
We would like to make use of "Search as you Type" in one of our applications using the RadGridView and we would prefer to show the cells/coloured text for rows with matches but without filtering out the rows that don't match. I have looked here in the forum and in the WPF Controls Examples but this doesn't appear to be an option.
Could you help me with achieving this?
Many thanks.
Miles
I'd like to add a simple TextBlock aligned to the right of the group panel. I feel like this is a modify the control template task, but I don't know how to begin.
Do you have a simple example?
Thanks.
-John.
I have a child gridview within another one - but we seem to be running into a problem when the user sorts on the child gridview. Basically this only seems to happen when there is a certain amount of records within the child gridview (25+), but some of the rows go completely blank and do not render out the information. It seems to be random rows each time.
Just wondering if anyone has any ideas on this - I can post code if required, but have added screenshots of it happening:
https://i.ibb.co/5kLdj0T/Telerik-Issue-No-Sort.png - this displays the grid without the issue (no sorting)
https://i.ibb.co/MMf11MN/Telerik-Issue-Sort.png - this displays the grid with sorting (see blank rows)
I have set the cell format to text in my spreadsheet, as I am editing numbers that are stored with greater precision than the spreadsheet can handle. This works for reading and writing in the spreadsheet programatically, but when numbers are pasted in they are rounded to 15 decimal places.
How can I make pasted numeric values respect the cell's text formatting ?
Thanks
Hello,
In the 2 column table`s properties when I set Column preferred width = 40 Percent, and next one to 60 Percent , first column changes to Pixel Measure.
Is it a Bug?