Telerik Forums
UI for WPF Forum
5 answers
137 views
When using the Today-button to select todays date, the selected value also includes the current time. Not what I would expect for the DatePicker. We solve it easy at our end, but I thought you might want to now.
Magnus
Top achievements
Rank 1
 answered on 06 Dec 2018
6 answers
324 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
306 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
157 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
89 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
80 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
633 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
147 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.1K+ 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
87 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
Narrow your results
Selected tags
Tags
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?