Telerik Forums
UI for WPF Forum
6 answers
337 views

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.

 

Dinko | Tech Support Engineer
Telerik team
 answered on 05 Dec 2018
5 answers
320 views

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

Dilyan Traykov
Telerik team
 answered on 04 Dec 2018
2 answers
162 views

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. 

 

Alex
Top achievements
Rank 1
 answered on 04 Dec 2018
0 answers
98 views

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?

Иван
Top achievements
Rank 1
 asked on 04 Dec 2018
1 answer
84 views

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

 

 

 

 

 

Dinko | Tech Support Engineer
Telerik team
 answered on 04 Dec 2018
4 answers
674 views

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?

 

 

Dinko | Tech Support Engineer
Telerik team
 answered on 04 Dec 2018
2 answers
167 views

  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.

 

 

Vladimir Stoyanov
Telerik team
 answered on 03 Dec 2018
8 answers
2.2K+ views
Severity Code Description Project File Line Suppression State
Error Unknown build error, 'Cannot resolve dependency to assembly 'Telerik.Windows.Documents.Spreadsheet, Version=2016.2.421.45, Culture=neutral, PublicKeyToken=5803cfa389c90ce7' because it has not been preloaded. When using the ReflectionOnly APIs, dependent assemblies must be pre-loaded or loaded on demand through the ReflectionOnlyAssemblyResolve event. Line 442 Position 76.' TelerikWpfApp2 D:\visual studio 2015 Projects\TelerikWpfSolution\TelerikWpfApp2\Views\MailView.xaml 442
Tanya
Telerik team
 answered on 03 Dec 2018
4 answers
94 views

Hi,

what is the simplest way to change this white background behind tab "Home" as you can see on screenshot?

Thanks.

Tanya
Telerik team
 answered on 03 Dec 2018
2 answers
61 views

Hi, I'm running into an issue with the RadRibbonTab obscuring other content that should be in front of it.

The easiest way to illustrate this is with the attached screenshot. I put a breakpoint in the app when I click on an item inside the radRibbontab what is part of the RadRibbonView. The Z-order of the tab is higher than anything else on the screen, in this case obscuring other applications like visual studio. Note the order of the layers in the screenshot is my running WPF app is behind visual studio as expected, but the expanded ribbon tab is in front of it, obscuring part of visual studio.

This causes other issues in the application as well where the tab obscures other controls until the user explicitly hides the rad ribbon tab by focusing on the other control.

I am using VS Professional 2017, Version 15.8.0, .net version 4.7 and Telerik UI for WPF R3 2018

Thank you,

 

Chris

Krzysiek
Top achievements
Rank 1
 answered on 29 Nov 2018
Narrow your results
Selected tags
Tags
GridView
General Discussions
Chart
RichTextBox
Docking
ScheduleView
ChartView
TreeView
Diagram
Map
ComboBox
TreeListView
Window
RibbonView and RibbonWindow
PropertyGrid
DragAndDrop
TabControl
TileView
Carousel
DataForm
PDFViewer
MaskedInput (Numeric, DateTime, Text, Currency)
AutoCompleteBox
DatePicker
Buttons
ListBox
GanttView
PivotGrid
Spreadsheet
Gauges
NumericUpDown
PanelBar
DateTimePicker
DataFilter
Menu
ContextMenu
TimeLine
Calendar
Installer and Visual Studio Extensions
ImageEditor
BusyIndicator
Slider
Expander
TileList
PersistenceFramework
DataPager
Styling
TimeBar
OutlookBar
TransitionControl
Book
FileDialogs
ToolBar
ColorPicker
TimePicker
SyntaxEditor
MultiColumnComboBox
VirtualGrid
Wizard
ExpressionEditor
NavigationView (Hamburger Menu)
DesktopAlert
WatermarkTextBox
BarCode
SpellChecker
DataServiceDataSource
EntityFrameworkDataSource
RadialMenu
ChartView3D
Data Virtualization
BreadCrumb
ProgressBar
Sparkline
LayoutControl
TabbedWindow
ToolTip
CloudUpload
ColorEditor
TreeMap and PivotMap
EntityFrameworkCoreDataSource (.Net Core)
HeatMap
Chat (Conversational UI)
VirtualizingWrapPanel
Calculator
NotifyIcon
TaskBoard
TimeSpanPicker
BulletGraph
WebCam
CardView
DataBar
Licensing
FilePathPicker
PasswordBox
Rating
SplashScreen
Accessibility
Callout
CollectionNavigator
Localization
AutoSuggestBox
VirtualKeyboard
HighlightTextBlock
Security
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Andrey
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Andrey
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?