Hi,
I'm searching a way to highlight all supported drop zone in a control, when a drag start (and of course reverse to normal when drag end)... and using MVVM.
Is there something already existing about this use case ?
Thanks !
Regards,
Hi,
I want to achive that the nested RadGridView in my RadComboBox gets the focus when the ComboBox' DropDown is opened. For this I want the reference of the nested GridView but ComboBox.FindChildByType<RadGridView> doesn't work.
Here is the XAML Code of my ComboBox
<telerik:RadComboBox Name="cbMachineType" Text="{Binding Fleet}" Grid.Row="2" Grid.Column="2" IsEditable="True" Width="150" Height="{Binding ActualHeight, ElementName=txtName}" DropDownOpened="cbMachineType_DropDownOpened"> <telerik:RadComboBox.Items> <telerik:RadComboBoxItem> <telerik:RadComboBoxItem.Template> <ControlTemplate> <telerik:RadGridView x:Name="gvMachineType" ShowGroupPanel="False" CanUserFreezeColumns="False" IsReadOnly="True" IsFilteringAllowed="False" SelectionMode="Single" RowIndicatorVisibility="Collapsed" SelectedItem="{Binding RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type telerik:RadComboBox}},Path=DataContext.SelectedMachineType}" DataContext="{StaticResource MachineTypeViewModel}" ItemsSource="{Binding MachineTypes}" Width="{Binding Width, ElementName=cbMachineType}" Height="150" AutoGenerateColumns="False" SelectionChanged="gvMachineType_SelectionChanged"> <telerik:RadGridView.Columns> <telerik:GridViewDataColumn Width="*" Name="cSubDescription" Header="Beschreibung" DataMemberBinding="{Binding Type}"/> <telerik:GridViewDataColumn Width="1*" Name="cSubFleet" Header="Flotte" DataMemberBinding="{Binding Fleet}"/> </telerik:RadGridView.Columns> </telerik:RadGridView> </ControlTemplate> </telerik:RadComboBoxItem.Template> </telerik:RadComboBoxItem> </telerik:RadComboBox.Items></telerik:RadComboBox>How can I achive this?
Greetings
Alexander
General description of the project:
In our project we load MVVM-Architectured windows using C# Reflection and put them onto a RadDockPanel, that way it corresponds with our high demands of flexibility, you can specify which windows you want to load when the program starts or afterwards and also close them mid run without affecting the rest of the loaded windows.
The problem: for some reason when we load MVVM-windows that contain the RadGridView controls, they don't update in accordance to their binded-source.
The attachment contains a very stripped down version of loading a window that contains both, a RadGridView and a regular Microsoft DataGrid both of which are bound to the the same property(ObservableCollection). While the DataGrid is updating on every new Item added, the RadGridView does not. Even when explicitly told to do so using the CollectionChaged event.
Also, there's an attached project (ModuleConsoleStarter) that simply runs the same window not loading it with Reflection. In that project both controls are updating perfectly in accordance with theirs source!
My network security provider doesn't allow me to upload files so here is a Google Drive link:
https://drive.google.com/folderview?id=0B2kbmdtjQ0m_X0Zxajk4bkpiSFk&usp=sharing
Hi,
I tried to use the WPF telerik demo code to load modules of my application as done with the demo but I had a problem when trying to navigate to an example exp1 twice, the second time I am not able to navigate, but when I navigate to another example exp2 then exp1, it works:
exp1 -> home -> exp1: bug during the second navigation.
exp1 -> home -> exp2 -> home -> exp1: no problem.
I thought that may be the problem is with selector object in "SelectorHelper" class.
Can you give me any explanation or ideas about this problem.
Thanks,

Hi and thanks in advance!
I have a two-part wpf window, RadGridView on left, RadTreeView on right like the "Tree to grid drag example".
I need to drag&drop items from grid to tree (tree must be an Idef0 tree so I need to implement some custom logic in GridViewDragDropBehavior and TreeViewDragDropBehavior to avoid drop in some cases and notify user updating the DragVisual during drag).
All DragDropManager events are fired correctly and a I use DataTemplate and DropIndicationDetails (like your example) to initialize the DragVisual inside OnDragInitialize and update it inside OnDragOver...and I can populate the tree.
But DragVisual is never visible and I don't know why!
Without DragVisual notification and update (made with binding on DropIndicationDetails) it's pretty impossibile to understand the drop position and then notify the user if the operation is possible or not.
I'm using no xaml binaries dll and in MainSkin.xaml I have a ResourceDictionary with the following
<ResourceDictionary.MergedDictionaries>
<ResourceDictionary Source="/Telerik.Windows.Themes.Office2013;component/Themes/System.Windows.xaml"/>
<ResourceDictionary Source="/Telerik.Windows.Themes.Office2013;component/Themes/Telerik.Windows.Controls.xaml"/>
<ResourceDictionary Source="/Telerik.Windows.Themes.Office2013;component/Themes/Telerik.Windows.Controls.Input.xaml"/>
<ResourceDictionary Source="/Telerik.Windows.Themes.Office2013;component/Themes/Telerik.Windows.Controls.GridView.xaml"/>
<ResourceDictionary Source="/Telerik.Windows.Themes.Office2013;component/Themes/Telerik.Windows.Controls.Data.xaml"/>
<ResourceDictionary Source="/Telerik.Windows.Themes.Office2013;component/Themes/Telerik.Windows.Controls.Navigation.xaml"/>
</ResourceDictionary.MergedDictionaries>
Please help!
<Grid> <telerik:RadBusyIndicator IsBusy="{Binding IsBusy}" Grid.Row="0" > <Grid> <StackPanel Margin="10,10,10,10"> ...some content here... </StackPanel> </Grid> </telerik:RadBusyIndicator></Grid>I have read-only RadGridView columns displaying error messages.
They tend to be long, but due to the read-only attribute, I cannot navigate to the end of them.
Other than extending the column width, is there any way to navigate the whole cell width, or to set a wrapper property?
In my RadGridView I group data by two columns: first by column1 and then by column2. When I set ShowGroupFooters="true" I end up with two footers - one for column1 and another for column2. How can I hide footers for the nested groups (over column2) and leave only footers for the groups over column1?
thank you
<telerik:RadGridView x:Name="ResultsView" IsReadOnly="True" ItemsSource="{Binding Path=Dossiers,Mode=OneWay}" AutoGenerateColumns="False" SelectedItem="{Binding CurrentDossier, Mode=OneWayToSource}" Grid.Column="0" Grid.Row="1"> <telerik:RadGridView.InputBindings> <MouseBinding MouseAction="LeftDoubleClick" Command="{Binding SearchCommand}" CommandParameter="{Binding ElementName=ResultsView,Path=SelectedCells,Mode=OneWay}"></MouseBinding> </telerik:RadGridView.InputBindiIngs>hello Telerik,
I'm trying to use RadWindow AS user control
I'm having a problem with RadWIndow's Show() method.
I was going over your 'Use RadWindow as User Control' explanation and there is a part where is says :
RadWindowControl window = new RadWindowControl();
window.Show();
in my code, the way that my RadWIndow (CapabilityLayer) created is from ResourseDictionary:
<ResourseDictionary>
<DataTemplate DataType="{x:Type localVM:CapabilityViewModel}">
<localVIew:CapabilityLayer/>
</DataTemplate>
</ResourseDictionary>
I'm only using "new" in order to create CapabilityViewModel but CapabilityLayer is automatically created, this is why I dont know where to invoke the Show() method I dont have instance to CapabilityLayer.xaml .
at the moment no errors or exceptions it just that the window is not shown
I tried to invoke Show() in the RadWindow's OnLoad event but it still no show.
I tried to find the radwindow through Application.Current.Windows but I didnt find it there.
where is the right place to put this method ? I saw that some time it is recommended to use ShowDIalog() what is the different? Show() is where RadWindow create or it is only some kind of visibility set?
thank you