I updated my DLLs to the newest version Telerik_UI_for_WPF_2020_2_617_Dev_Hotfix and now I get a reference conflict:
Severity Code Description Project File Line Suppression State
Warning Could not resolve this reference. Could not locate the assembly "Telerik.Pivot.Core, Version=2019.2.618.45, Culture=neutral, PublicKeyToken=5803cfa389c90ce7". Check to make sure the assembly exists on disk. If this reference is required by your code, you may get compilation errors.
Please refer to the attached image files for more details.
Are there any solutions for it in version before useful EnableSelectionCaching option was added?
https://docs.telerik.com/devtools/wpf/controls/radlistbox/features/selection#disabling-caching-of-selected-items
"Disabling Caching of Selected Items
By default, when its ItemsSource is reset, RadListBox will try to restore any previously selected items through its built-in caching mechanism. As of R1 2017, RadListBox allows you to disable this functionality by setting its new EnableSelectionCaching property to False."

How can I apply animation on contextmenu show. I'am trying apply ShowDelay and HideDelay properties but it shows no effect.
I'm trying to make a Grid with "labeled" connectors.
Each cell of the grid contains a TextBlock and a RadDiagramConnector.
The problem is that the behavior of the standalone RadDiagramConnector in the grid cell is not the same as a RadDiagramConnector inside the RadDiagramShape.Connectors collection. It is for example not possible to use it as a target connector. It also loses its connection when used as a source connector, when the shape is dragged.
Is it possible to use the `RadDiagramConnector` standalone (not part of the RadDiagramShape.Connectors collection)? How would that be possible?
Thank you!

Hello,
I want to store RadDocument object in the database table as byte[]. Is any way do that?
(I don`t want to use export/import, because seems it is not export all data (ex. don`t export "tracking changes", etc)).

I want to be able to render an image from a RadMap control without displaying the map control. I can see the map control rendered in my png but the map background (in this case OSM) does not get rendered with the image. I assume this happens because the map data hasn't yet been retrieved.
public class MapRender{ private Thread _thread; public void StartRender() { ThreadStart start = ScreenshotMap; // Render; _thread = new Thread(start); _thread.SetApartmentState(ApartmentState.STA); _thread.Start(); } private void ScreenshotMap() { var imageSize = 800; var osmBasedMapProvider = new OsmBasedMapProvider(); var radMap = new RadMap() { Provider = osmBasedMapProvider, RenderSize = new Size(imageSize, imageSize), Height = imageSize, Width = imageSize }; radMap.Loaded += RadMap_Loaded; radMap.InitializeCompleted += RadMap_InitializeCompleted; radMap.SizeChanged += RadMap_SizeChanged; var c = new Canvas { Width = imageSize, Height = imageSize }; c.Children.Add(new Rectangle { Height = imageSize, Width = imageSize, Fill = new SolidColorBrush(Colors.Red) }); c.Children.Add(radMap); var dpi = 80; var bitmap = new RenderTargetBitmap((int)c.Width, (int)c.Height, dpi, dpi, PixelFormats.Default); c.Measure(new Size((int)c.Width, (int)c.Height)); c.Arrange(new Rect(new Size((int)c.ActualWidth, (int)c.ActualHeight))); bitmap.Render(c); var png = new PngBitmapEncoder(); png.Frames.Add(BitmapFrame.Create(bitmap)); using (Stream stm = File.Create("c:\\temp\\map.png")) { png.Save(stm); } //radMap.ExportToImage("c:\\temp\\map2.png", true); }}Is there some way for me to wait for the map data to be retrieved before saving the image file?
Thanks
Pete

I am using the Fluent theme implicitly (noxaml). If I use a standard Window as my main window, it appears correctly and the controls are properly themed.
However, if I change the main window to use RadWindow (and make the appropriate change to override OnStartup in App.xaml), at runtime the window does not appear.
I'm thinking that it may be that the RadWindow is rendering before the styling has been loaded. The RadWindow does render correctly in the designer.
Any thoughts on this?


<telerik:RadDateTimePicker> <telerik:RadDateTimePicker.CalendarStyle> <Style TargetType="{x:Type telerik:RadCalendar}"> <Setter Property="DayTemplateSelector" Value="{StaticResource CalendarCountTask}"/> </Style> </telerik:RadDateTimePicker.CalendarStyle></telerik:RadDateTimePicker><a:CustomTemplateSelector x:Key="CalendarCountTask"> <a:CustomTemplateSelector.DefaultTemplate> <DataTemplate> <TextBlock Text="{Binding Text}"/> </DataTemplate> </a:CustomTemplateSelector.DefaultTemplate> <a:CustomTemplateSelector.CustomTemplate> <DataTemplate> <TextBlock Text="{Binding Text}" Foreground="RoyalBlue"/> </DataTemplate> </a:CustomTemplateSelector.CustomTemplate></a:CustomTemplateSelector
public class CustomTemplateSelector : DataTemplateSelector
{
public override DataTemplate SelectTemplate(object item, DependencyObject container)
{
CalendarButtonContent content = item as CalendarButtonContent;
foreach (KeyValuePair<DateTime, short> oneDay in winDebtorInfo.TaskCountList)
{
if (oneDay.Key == content.Date)
{
content.Text += "(" + oneDay.Value + ")";
return CustomTemplate;
}
}
return DefaultTemplate;
}
public DataTemplate DefaultTemplate
{
get;
set;
}
public DataTemplate CustomTemplate
{
get;
set;
}
}
>