Hi,
I would be happy if you could explain to me why a regular appointment opens for editing when clicked twice but an appointment that has a recurrence does not open for me by double-clicking.
what could be the problem?
<telerik:RadScheduleView
SelectedAppointment="{Binding SelectedAppointment, Mode=TwoWay}"
EditAppointmentDialogStyle="{StaticResource CustomEditAppointmentDialogStyle}"
AppointmentsSource="{Binding Appointments}"
DragVisualTemplate="{StaticResource DragVisualContentTemplate}"
DragDropHighlightStyle="{StaticResource CustomDragDropHighlightStyle}">
public CustomAppointment SelectedAppointment { get; set; }
public class CustomAppointment : Appointment
Would appreciate help.
I have documents that when saved as a .docx file and opened in Word, they display correctly.
The same document when viewed in the TK Viewer distorts (moves) the position of the elements of the document.
It is adding space where it should not be and wrapping words where they should be on a single line.
I'm attaching a short screenshot of the document in TK View as well as in Word to show difference. It is happening everywhere in the document, but just this screenshot for brevity.
Is there a setting to force it to render exactly as the display in word? Some way to resolve this?
I would like to pop-up a RadContextMenu upon right clicking anywhere in the header area of the TabControl (anywhere in the green area).
Attaching the Context menu as shown below pops up the menu everywhere including the body(ie: red area), which is not desired. I only want the menu to popup in the header area (when clicking on the tabitem headers or in the blank area after the tabitems)
<telerik:RadTabControl x:Name="radTabCtrl"
Grid.Row="1"
Margin="20,10,5,5"
HorizontalAlignment="Stretch" VerticalAlignment="Stretch"
TabStripPlacement="Left" Align="Right"
DataContext="{Binding Itemss}"
ItemsSource="{Binding}"
PreviewTabClosed="PreviewTabClosed">
<telerik:RadContextMenu.ContextMenu>
<telerik:RadContextMenu x:Name="tabCtrlContextMenu" Opening="TabCtrlContextMenu_Opening">
<telerik:RadMenuItem Header="Add" Click="Menu_Add_Click"/>
</telerik:RadContextMenu>
</telerik:RadContextMenu.ContextMenu>
</telerik:RadTabControl>
Your help is much appreciated.
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.