Hello
Checked that the designer crashes when setting the DataContext viewmodel in xaml.
Please check the attached file for details. Here is a simple example source.
It also sends an associated link about the occurrence of the exception.
My Post
Feedback Post
Additionally, if you attach the DataContext to the xaml, when the designer crashes, clearing the RadGridView's ItemsSource will bring the designer back to display.
Could you solve this problem?
Thanks.

I have a form with a RadGrid control that has its ItemSource set to a collection in my View Model, and it all works
I need to add a GridViewComboBoxColum to the Grid. The source will be another collection in the same View Model.
Sounds simple, right? But I can’t get the ComboBox to appear.
For the examples below:
_vm is a public window variable that is a reference to my View Model.
valuestatus is the collection of values that I want to display in the dropdown.
WL_Dashboard is the class type of the list that is set in theitem source of the grid.
<telerik:GridViewComboBoxColumn Name="ValStatusColumn" Header="Val.Status"
SelectedValueMemberPath="{Binding Path=ValidationStatus, Mode=TwoWay}"
IsReadOnly="False"
HeaderCellStyle="{StaticResource BlueHeaderCellStyle}"
ItemsSource="{Binding _vm.valuestatus}"
DisplayMemberPath="valstatus">
</telerik:GridViewComboBoxColumn>
This does not generate an exception or an error in the output window – but the dropdown does not display
If I replace ItemsSource with ItemSourceBinding:
it generates a bunch of errors in the output window and the dropdown does not display:
System.Windows.Data Error: 40 : BindingExpression path error: '_vm' property not found on 'object' ''WL_Dashboard' (HashCode=55939488)'. BindingExpression:Path=_vm._valuestatus; DataItem='WL_Dashboard' (HashCode=55939488); target element is 'RadComboBox' (Name=''); target property is 'ItemsSource' (type 'IEnumerable')
The documentation doesn't help me much because there is no itemsSource set on the grid. It sounds like if use ItemSourceBinding that I need to override the WL_Dashboard setting on the grid for this column - but how?
Any idea what I'm doing wrong? Gotta be something simple that I'm missing here...
Thanks in advance for any assistance you can provide.
Lou
We have two instances of a rad-schedule view, both are displayed as timeline view. When the user drags an appointment from one scheduler and tries to drop the appointment into the other, the start date of the appointment is the same as in the drag-scheduler. Is it possible to set the start-date to the actual mouse-position?
I've tried to do this in our custom drag&drop behaviour, but it is not working.
EDIT
The problem in my cause occurred, because the first scheduler shows appoint that has a minimum duration of one day, the other one has a slot size of 15min. If I now start the drag&drop process by picking the appointment on the right side, it is very hard to point to the expected date and time. What I need is, that the dragged appointment always starts at the mouse cursor.
The black arrow is my mouse cursor, and I want to start the appointment at that position.
Thanks a lot!


I have a RadDocking element in my xaml. I need to add one main button that opens and closes the main menu above the RadDocking element.
The problem is, the RadPane-s that open inside the RadDocking element would go below the button and the title of a given RadPane is hidden.
I want my main button to be above the RadDocking element, but the header/title of all the panes should be at all time visible and not hidden by the button.
I was wondering, can there be some constrained area inside RadDocking tag where RadPanes would not go or cover, so I can place my button above the RadDocking in that area?
Seems a bit non-sense but there has to be a way.
Should I use conditional docking? But how would that work, mark each new pane with a tag and then choose HeaderTemplate with HeaderTemplateSelector whether to add or not, space to the left in the RadPane header?
EDIT:
I maybe need some polygon-like container element that supports direct content. I need to be able to dock on right and below the button but panes should not go below the button and hide their title.
Check attached image.
Here is my modified ControlTemplate:
<ControlTemplate x:Key="RadDockingControlTemplate" TargetType="tk:RadDocking">
<Grid x:Name="Root">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="Auto"/>
<ColumnDefinition Width="*"/>
</Grid.ColumnDefinitions>
<Grid.RowDefinitions>
<RowDefinition Height="Auto"/>
<RowDefinition Height="*"/>
</Grid.RowDefinitions>
<Button Width="80" Height="36" Content="Text" Grid.Column="0" Grid.Row="0"/>
<Border
Grid.Row="0"
Grid.Column="1"
Grid.RowSpan="2"
x:Name="Border"
Background="{TemplateBinding Background}"
BorderBrush="{TemplateBinding BorderBrush}"
BorderThickness="{TemplateBinding BorderThickness}"
Padding="{TemplateBinding Padding}">
<tk:RadDockPanel x:Name="RootDockPanel">
<dock:AutoHideArea x:Name="LeftAutoHide" tk:RadDockPanel.Dock="Left"
TabStripPlacement="Left" BackgroundVisibility="Collapsed"
TabOrientation="Vertical"/>
<dock:AutoHideArea x:Name="RightAutoHide"
tk:RadDockPanel.Dock="Right" TabStripPlacement="Right"
BackgroundVisibility="Collapsed" TabOrientation="Vertical"/>
<dock:AutoHideArea x:Name="TopAutoHide" tk:RadDockPanel.Dock="Top"
TabStripPlacement="Top" BackgroundVisibility="Collapsed"
TabOrientation="Horizontal"/>
<dock:AutoHideArea x:Name="BottomAutoHide"
tk:RadDockPanel.Dock="Bottom" TabStripPlacement="Bottom"
BackgroundVisibility="Collapsed" TabOrientation="Horizontal"/>
<tk:DockingPanel x:Name="ContentDockPanel" Margin="0">
<dock:DocumentHost x:Name="DocumentHost" IsTabStop="{TemplateBinding IsTabStop}"/>
</tk:DockingPanel>
</tk:RadDockPanel>
</Border>
</Grid>
</ControlTemplate>

Hi,
I've noticed the gallery items are scrollable when many items are placed. I was wondering how to make the gallery sections/categories scrollable as well. Sometimes in our application we have so many categories they don't fit.
Kind regards

I've used telerik rad diagram for creating a kind of blue-print system (flow system). In this flow-system we have a lot of nodes and connections. Is it possible to show connections like this?
At the moment it looks like this:
I've tried to work with the bezier-connection-type, but that didn't work as expected:
EDIT
Style while drag&drop:
After the drop it looks like this:
Thanks a lot!
Hi,
I have a scatter point series with chart track ball enabled and SnapMode set to ClosestPoint, but with multiple series added to the chart I see a point per series.
Each colour in above image is a separate series added from code. The chart itself is in XAML.
<telerik:RadCartesianChart Grid.Row="0" BorderBrush="Transparent" Background="White" x:Name="radChartView" HorizontalAlignment="Stretch" VerticalContentAlignment="Stretch" DockPanel.Dock="Top">
<telerik:RadCartesianChart.Behaviors>
<telerik:ChartTrackBallBehavior ShowIntersectionPoints="True" ShowTrackInfo="False" SnapMode="ClosestPoint" />
</telerik:RadCartesianChart.Behaviors>
<telerik:RadCartesianChart.TrackBallLineStyle>
<Style TargetType="Polyline">
<Setter Property="Visibility" Value="Collapsed" />
</Style>
</telerik:RadCartesianChart.TrackBallLineStyle>
</telerik:RadCartesianChart>
I've only seen examples of SnapMode=ClosestPoint on LineSeries plots. Should this work on ScatterPointSeries?
Thanks,
Neil

Hello,
If we follow the WPF good practices, the `OnLostFocus` method must be called when the control loses focus and it's the job of this method to raise the `LostFocus` event.
In the case of the AutoCompleteBox, the event is raised, but the method is not called. So it's not possible to do some work before the event is raised.
Hello,
I am using the ContentTemplateSelector-Property of the RadPathButton, but nothing happens. Is there some trick to activate this feature?
My xaml:
<utils:MessageDirectionTemplateSelector x:Key="messageDirectionTemplateSelector">
<utils:MessageDirectionTemplateSelector.DecEditDataTemplate>
<DataTemplate>
<ContentControl ContentTemplate="{StaticResource icon:outMessage}"/>
</DataTemplate>
</utils:MessageDirectionTemplateSelector.DecEditDataTemplate>
<utils:MessageDirectionTemplateSelector.HexEditDataTemplate>
<DataTemplate>
<ContentControl ContentTemplate="{StaticResource icon:inMessage}"/>
</DataTemplate>
</utils:MessageDirectionTemplateSelector.HexEditDataTemplate>
</utils:MessageDirectionTemplateSelector>
<telerik:RadPathButton Content="{Binding DataContext, RelativeSource={RelativeSource Self}}"
ContentPlacement="Right"
ContentTemplateSelector="{StaticResource messageDirectionTemplateSelector}"/>
The Selector-Class:
public class MessageDirectionTemplateSelector : DataTemplateSelector { public override DataTemplate SelectTemplate(object item, DependencyObject container) { if (item is MessageItem) { return Properties.Settings.Default.CanIdHex ? HexEditDataTemplate : DecEditDataTemplate; } if (item is MessageSignalItem) { return Properties.Settings.Default.MuxValueHex ? HexEditDataTemplate : DecEditDataTemplate; } if (item is EnumValueItem) { return Properties.Settings.Default.EnumValueHex ? HexEditDataTemplate : DecEditDataTemplate; }
return null; }
public DataTemplate HexEditDataTemplate { get; set; } public DataTemplate DecEditDataTemplate { get; set; } }
regards,
Tobias