Hello Telerik team,
we are in trial period and exploring your product very seriously in past several days. We are interested in UI for Wpf line, but got stuck in choosing the way that is best for us and our product (lost in docs and demos to be honest). Tried different approaches form your help, but did not manage to get it to work completely. Ended today with probably mixed implicit and explicit style options..
So, we want to have custom controls that inherit telerik's (watermarktext, datepicker, radio, combo and button for now).. These controls will have to implement some specific interfaces we need in application (not related to telerik) and also slightly override Telerik styles (for an example we want to change triggers for mouse move and focus on some of them..). At the same time, we want to apply material theme with our own color scheme (override default colors). What is the best way to do that? We would appreciate if you could provide some simple example to point us in right direction.
Thanks in advance!

We have watermarked some excel sheets by setting background image. When importing excel sheet into RadSpreadsheet, it is not showing background image.
Same can be reproduced in Telerik wpf Demos.
For reference I am attaching sample excel document.

Hi,
I just bought telerik WPF and am trying to apply it to my project.
My project was based on Telerik WPF 2020 version, so I deleted it and then replaced it to a new 2022 version.
But the project is making errors on Runtime (like loaderExceptions, can not find assembly 2020) and I found that project is still referencing 2020 version libs.
Am I missing something?
Attempting to gather dependency information for package 'Telerik.Windows.Controls.Chart.for.Wpf.2022.1.222' with respect to project 'EPCM.HMI.Main', targeting '.NETFramework,Version=v4.7.2'
Gathering dependency information took 2.23 sec
Attempting to resolve dependencies for package 'Telerik.Windows.Controls.Chart.for.Wpf.2022.1.222' with DependencyBehavior 'Lowest'
Resolving dependency information took 0 ms
Resolving actions to install package 'Telerik.Windows.Controls.Chart.for.Wpf.2022.1.222'
Resolved actions to install package 'Telerik.Windows.Controls.Chart.for.Wpf.2022.1.222'
NuGet.Protocol.Core.Types.FatalProtocolException: Failed to fetch results from V2 feed at 'https://nuget.telerik.com/nuget/Packages(Id='Telerik.Windows.Controls.for.Wpf',Version='2022.1.222')' with following message : Response status code does not indicate success: 401 (Logon failed.). ---> System.Net.Http.HttpRequestException: Response status code does not indicate success: 401 (Logon failed.).
at System.Net.Http.HttpResponseMessage.EnsureSuccessStatusCode()
at NuGet.Protocol.HttpSource.<>c__DisplayClass15_0`1.<<GetAsync>b__0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
at NuGet.Common.ConcurrencyUtilities.<ExecuteWithFileLockedAsync>d__4`1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at NuGet.Common.ConcurrencyUtilities.<ExecuteWithFileLockedAsync>d__4`1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at NuGet.Protocol.HttpSource.<GetAsync>d__15`1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at NuGet.Protocol.V2FeedParser.<LoadXmlAsync>d__52.MoveNext()
--- End of inner exception stack trace ---
at NuGet.Protocol.V2FeedParser.<LoadXmlAsync>d__52.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at NuGet.Protocol.V2FeedParser.<QueryV2FeedAsync>d__50.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at NuGet.Protocol.V2FeedParser.<GetPackage>d__38.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at NuGet.Protocol.PackageMetadataResourceV2Feed.<GetMetadataAsync>d__5.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at NuGet.PackageManagement.UI.UIActionEngine.<GetPackageMetadataAsync>d__20.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at NuGet.PackageManagement.VisualStudio.TaskCombinators.<>c__DisplayClass1_0`2.<<ThrottledAsync>b__0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at NuGet.PackageManagement.VisualStudio.TaskCombinators.<ThrottledAsync>d__1`2.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
at NuGet.PackageManagement.UI.UIActionEngine.<GetPackageMetadataAsync>d__19.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at NuGet.PackageManagement.UI.UIActionEngine.<CheckLicenseAcceptanceAsync>d__14.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
at NuGet.PackageManagement.UI.UIActionEngine.<>c__DisplayClass11_0.<<PerformActionImplAsync>b__0>d.MoveNext()
Time Elapsed: 00:00:03.2225412
(I sincerely hope this is not a duplicate and I'm not stating the question too convolutedly.)
In your Diagram/MVVM example you demonstrate binding a RadDiagram to a ViewModel including serialization and deserialization with two ViewModel classes derived from NodeViewModelBase (Model, Brand) associated with the diagram's shapes.
The XAML for the diagram defines custom styles for RadDiagramShape and RadDiagramContainerShape which (as explained in your How-To page on StyleSelectors and MVVM) bind their Position dependency property to the (derived, via NodeViewModelBase) Position property of the ViewModel classes.
<Setter Property="Position" Value="{Binding Position, Mode=TwoWay}" />When the graph is constructed the shapes' positions are indeed taken from the ViewModel classes and when the graph is serialized, so are the positions. The serialized position values can, as expected, be found in the generated XML file.
However, when the graph is deserialized, these values are not retrieved in the DeserializeNode override (see below), neither via a call to NodeViewModelBase.DeserializeNode nor by explicitly querying the "Position" attribute in the XML. The Position property of these NodeViewModelBase-derived objects is still (0,0) upon exit. (Only the (inherited) Content property of the node-related ViewModel classes (Model, Brand) is set from "Content" XML attribute.)
Excerpt from CarsGraphSource.cs:
public override NodeViewModelBase DeserializeNode(IShape shape, Telerik.Windows.Diagrams.Core.SerializationInfo info)
{
NodeViewModelBase node = null;
if (shape is IContainerShape)
{
node = new Brand();
}
else
{
node = new Model();
}
if (info["Content"] != null)
node.Content = info["Content"].ToString();
if (info[this.NodeUniqueIdKey] != null)
{
var nodeUniquekey = info[this.NodeUniqueIdKey].ToString();
this.CachedNodes[nodeUniquekey] = node;
}
return node;
}
Still, after deserialization, the position of the shapes is restored correctly (despite the Position property of the ViewModel classes still being (0,0).
Am I understanding something completely wrong here? Thank you very much in advance for your help.
Hello,
We are planning to use the WPf RadImage in order to preview, maybe retouch, save and print images.
Then I have two questions :
Can we import base64 string images in RadImageEditor ?
Is there a way to print from the RadImageEditor ?
Thanks for your help
Julien
Hi
How can I put elements in a RadListBox side by side instead of one above other
Thank you
Luigi
Is it possible to customize where it splits the text when you set TextWrapping on a column in a RadGridView? For example, would it be possible to make it only split the text at spaces and not at other characters? I have attached screenshots of example text in a RadGridView and the same text in Excel.
Hello,
Is there an option I can enable in the RadTabControl like the one shown below for creating new tabs?
If not, is there a easy way to add a custom "+" button to the toolbar area?
I'm not sure if it's possible but what i want to achieve is when a user changes the selecteditem they get a question it they are sure if they want to change the selection. If they say ok, no problem, but in the other cases i want to 'cancel' the selectionchanged and keep the currently selecteditem.
I can stop the event with the e.handled = true but it still changes the selected item.
Is there anything i can do to reach this behaviour?
I've seens there is no cancel on the evenArgs so that's not an option.
I have a activeX control added to WindowsFormsHost which in turn loaded inside a RadPane. Everything works fine, but once you make the Radpane float. then its empty. Am I missing some settings here?
