I am trying to draw a phasor diagram similar to http://www.texample.net/media/tikz/examples/PDF/phasor-diagram.pdf. Basically a polar chart with vectors radiating from the origin based on the magnitude and phase angle between 2 or more signals. A PolarPointSeries is really close but I basically need a drop line to draw the line from the point back to the origin. Changing the symbol at the point to an arrow with the correct orientation would be a nice touch as well.
Hi there,
I have a RadContextMenu on a TreeListView and I've successfully hooked up the context menu to a command in my MVVM view model like this...
...
<telerik:RadContextMenu.ItemContainerStyle>
<Style TargetType="telerik:RadMenuItem" BasedOn="{StaticResource RadMenuItemStyle}" d:DataContext="{d:DesignInstance data:IContextMenuItem}">
<Setter Property="Command" Value="{Binding Command}"/>
This gets fired on both left clicks on the menu item as well as right clicks on the menu item. Is it possible to handle right clicks separately?
Thanks
Russell
Hello. I'm new to using Telerik and I'm experiencing strange behavior when editing data in the RadGridView control. I have a GridViewMaskedInputColumn and I lose the first character if I start editing the content of the cell by pressing 2 or more keys in quick succession. I've searched and searched these forums (as well as Telerik's guides and Google), but I could not find anything that helped. Please forgive me if I overlooked something.
My project currently using version 2018.1.122.45 of Telerik's WPF suite.
Here's a snippet of my XAML, please let me know if more detail is needed.
<
telerik:RadGridView
Name
=
"MainGridView"
AutoGenerateColumns
=
"False"
CanUserDeleteRows
=
"False"
CanUserInsertRows
=
"False"
CanUserReorderColumns
=
"True"
CellValidating
=
"MainGridView_CellValidating"
IsBusy
=
"{Binding IsGridRefreshing}"
IsFilteringAllowed
=
"False"
IsSynchronizedWithCurrentItem
=
"True"
EditTriggers
=
"TextInput"
RowIndicatorVisibility
=
"Collapsed"
SelectionMode
=
"Single"
SelectionUnit
=
"FullRow"
ShowGroupPanel
=
"False"
ShowSearchPanel
=
"True"
ItemsSource
=
"{Binding Path=DetailGridVM.TblDetailGrid}"
SelectedItem
=
"{Binding Path=DetailGridVM.SelectedDetail, Mode=TwoWay}"
>
<
telerik:GridViewMaskedInputColumn
Header
=
"Vendor Number"
Mask=">a6"
MaskType="Standard"
Name="GV_Column_VendorNumber"
Width="65"
DataMemberBinding="{Binding VendorNumber, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}">
<
telerik:GridViewMaskedInputColumn.HeaderCellStyle
>
<
Style
TargetType
=
"telerik:GridViewHeaderCell"
>
<
Setter
Property
=
"TextAlignment"
Value
=
"Center"
/>
<
Setter
Property
=
"TextWrapping"
Value
=
"Wrap"
/>
<
Setter
Property
=
"Background"
Value
=
"#FF9AE1B4"
/>
<
Setter
Property
=
"Foreground"
Value
=
"Black"
/>
</
Style
>
</
telerik:GridViewMaskedInputColumn.HeaderCellStyle
>
<
telerik:GridViewMaskedInputColumn.EditorStyle
>
<
Style
TargetType
=
"telerik:RadMaskedTextInput"
>
<
Setter
Property
=
"SelectionOnFocus"
Value
=
"SelectAll"
/>
</
Style
>
</
telerik:GridViewMaskedInputColumn.EditorStyle
>
</
telerik:GridViewMaskedInputColumn
>
</
telerik:RadGridView
>
Please note that the "Mask" property for the column object doesn't actually contain the ">" sign. It uses the correct notation as demonstrated in Telerik's guide, I just can't figure out how to escape it in this forum.
Thank you for any assistance.
Hello, my task is show visible links between appoinments (example in the attachment).
Can you explain me how i can recieve the coordinates of each AppointmentItem?
I can recieve it by VisualTreeHelper, but using this approach i recieve only AppointmentItems which are prepared for drawing (due virtualization).
Maybe i can use more simple way to recieve the coordinates? Or maybe i can disable virtualization for the RadScheduleView?
Hi
We get this a Critical Error when we try to move around an event in a RadScheduleView:
System.NotSupportedException: Specified method is not supported.
at Telerik.Windows.Controls.DraggedAppointmentsToLocalizedStringConverter.Convert(Object value, Type targetType, Object parameter, CultureInfo culture)
at System.Windows.Data.BindingExpression.TransferValue(Object newValue, Boolean isASubPropertyChange)
at System.Windows.Data.BindingExpression.Activate(Object item)
at System.Windows.Data.BindingExpression.AttachToContext(AttachAttempt attempt)
at System.Windows.Data.BindingExpression.MS.Internal.Data.IDataBindEngineClient.AttachToContext(Boolean lastChance)
at MS.Internal.Data.DataBindEngine.Task.Run(Boolean lastChance)
at MS.Internal.Data.DataBindEngine.Run(Object arg)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
Currently we use Telerik version 2018.3.911.45 (Runtime Version V4.0.3.319).
How can we fix this error?
Thank You,
Dave
Hi,
I'm having some problem with the synchronizing the combobox, when ItemsSource updates.
When I select an object and the combobox update, the item is perfectly synchronized with the selected objects value.
My problem is that my application poll new items every 10 sec and update/refresh the itemssource. I'm using isSynchronizedWithCurrentItem = true and the combobox just set the first item by default, instead of displaying the actual value from the selected object, as before the itemssource updated.
How can I fix this?
I've been having version issues with the Telerik DLLs so after lots of research and attempting to fix the issues to no avail I've decided to start a clean project and move my code over piece by piece in hopes of finding the culprit. Everything is going well so far except my AutoCompleteBox does not show up in design mode or at runtime. The XAML shows no errors and if you select the markup it highlights where the control should be but it remains invisible. I had a similar problem with the RadButton but solved that by switching to the native WPF button.
Here is my XAML
01.
<
telerik:RadAutoCompleteBox
Width
=
"300"
02.
ItemsSource
=
"{Binding Transaction.Carriers}"
03.
SelectedItem
=
"{Binding Transaction.SelectedCarrier}"
04.
TextSearchMode
=
"Contains"
05.
AutoCompleteMode
=
"Suggest"
06.
SelectionMode
=
"Single"
07.
TextSearchPath
=
"Name"
08.
FilteringBehavior
=
"{StaticResource CustomAutoCompleteFiler}"
09.
/>
This worked fine in my previous project until I started getting the weird errors that set off a frustrating chain of events that led me here. As for Telerik references I tried to minimize down to only what I absolutely needed. At the moment I have Telerik.Windows.Controls and Telerik.Windows.Controls.Input. This project was made using the Telerik WPF Project Template so I assumed all controls should work fine. I am also using RadGlyphs and they are rendering just fine.
Hi,
what is the simplest way to change this white background behind tab "Home" as you can see on screenshot?
Thanks.