Hi,
When I apply the RibbonView XAML as a windows level resource ribbon view backstage does not show. It only works if I move the resources to an application resource.
I need window level theming for my application is this supported with Telerik WPF ribbon control or am I doing something wrong ?
Below is the XAML:-
<telerik:RadRibbonWindow x:Class="WpfApplication1.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:local="clr-namespace:WpfApplication1"
xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
mc:Ignorable="d"
Title="MainWindow" Height="350" Width="525">
<telerik:RadRibbonWindow.Resources>
<ResourceDictionary>
<ResourceDictionary.MergedDictionaries>
<ResourceDictionary Source="/Telerik.Windows.Themes.VisualStudio2013;component/Themes/System.Windows.xaml" />
<ResourceDictionary Source="/Telerik.Windows.Themes.VisualStudio2013;component/Themes/Telerik.Windows.Controls.xaml" />
<ResourceDictionary Source="/Telerik.Windows.Themes.VisualStudio2013;component/Themes/Telerik.Windows.Controls.Input.xaml" />
<ResourceDictionary Source="/Telerik.Windows.Themes.VisualStudio2013;component/Themes/Telerik.Windows.Controls.Docking.xaml" />
<ResourceDictionary Source="/Telerik.Windows.Themes.VisualStudio2013;component/Themes/Telerik.Windows.Controls.RibbonView.xaml" />
</ResourceDictionary.MergedDictionaries>
</ResourceDictionary>
</telerik:RadRibbonWindow.Resources>
<Grid>
<telerik:RadRibbonView Grid.Row="0" x:Name="Ribbon" ApplicationName="Theme test" ApplicationButtonContent="System" >
<telerik:RadRibbonView.Backstage>
<telerik:RadRibbonBackstage x:Name="Backstage" >
<telerik:RadRibbonBackstageItem Header="Overview" IsSelectable="true" IsSelected="True" />
<telerik:RadRibbonBackstageItem Header="System Configuration" IsSelectable="false" />
<telerik:RadRibbonBackstageItem Header="Setup Display" IsSelectable="false" />
</telerik:RadRibbonBackstage>
</telerik:RadRibbonView.Backstage>
</telerik:RadRibbonView>
</Grid>
</telerik:RadRibbonWindow>
Regards
hello,
i'm currently create a simple application that using radgridview. but i get this error from the beginning, and can't figure it out why. i had try the example from the telerik documentation, but still no luck. please find the attachment for detail, and tell me what did i miss.
thanks in advance.
I'm just getting into this and I just can't figure out what I am doing wrong.
I have the following XAML (at least the relevant part) followed by the code in the Viewmodel to load it.
In the seachcommand function I make a db call and load the results into my observable collection of SearchResultBag.
The query runs fun and I get data. It just doesn't show in the grid. What is the magic sauce I am missing. This seems like it should be trivial.
If I get rid of the SearchResultsBag and ONLY return a string (for testing purposes) the string(s) get displayed in the grid. Why won't my SearchResultsBag display it's contents. I've been a good boy and defined the template columns. It's gotta be something simple but I just can't see what I am missing.
While I'm at it, can anyone point me to a good MVVM databound RadGridView example. The telerik demo app is WAAAAY to complicated for a newb like me to pick up the basics from. I'm sure if I can get this simple search thing working I can get the rest.
Thanks ... Ed
<Button x:Name="cmdSearch" Grid.Row="8" Grid.Column="1" Content="Search" HorizontalAlignment="Left" Command="{Binding SearchCommand }" Margin="0,5,0,5"/>
<telerik:RadGridView Grid.Row="9" Grid.Column="0" Grid.ColumnSpan="3" x:Name="ssSearch"
Visibility="{Binding ShowResults, Converter={StaticResource bResultsVisibleConverter}}"
ItemsSource="{Binding SearchResults, UpdateSourceTrigger=PropertyChanged, Mode=TwoWay }"
Height="200"
>
<telerik:RadGridView.Columns>
<telerik:GridViewDataColumn Header="Request #" DataMemberBinding="{Binding CustomKey}"/>
<telerik:GridViewDataColumn Header="ClientName" DataMemberBinding="{Binding ClientName}"/>
<telerik:GridViewDataColumn Header="ClientId" DataMemberBinding="{Binding ClientId}"/>
<telerik:GridViewDataColumn Header="OpenedBy" DataMemberBinding="{Binding OpenedBy}"/>
<telerik:GridViewDataColumn Header="ProjectId" DataMemberBinding="{Binding ProjectId}"/>
<telerik:GridViewDataColumn Header="OpenedDate" DataMemberBinding="{Binding OpenedDate}"/>
<telerik:GridViewDataColumn Header="RequestedDate" DataMemberBinding="{Binding RequestedDate}"/>
<telerik:GridViewDataColumn Header="CloseDate" DataMemberBinding="{Binding CloseDate}"/>
</telerik:RadGridView.Columns>
</telerik:RadGridView>
SearchCommand = new Prism.Commands.DelegateCommand(Search).ObservesProperty(() => SearchResults);
private ObservableCollection<SearchResultsBag> _searchResults;
public ObservableCollection<SearchResultsBag> SearchResults
{
get { return _searchResults; }
set { SetProperty(ref _searchResults, value); }
}
private void Search()
{
this.SearchResults = new ObservableCollection<SearchResultsBag>();
var q = from a in db.CALMS_Request
where a.Custom_Key == CustomKey
select new SearchResultsBag
{
CustomKey = a.Custom_Key,
ClientName = a.Client.ClientName,
ClientId = a.Client.ClientId.ToString(),
OpenedBy = "OpenedBy",
ProjectId = a.ProjectID,
OpenDate = a.DateCreated.ToString(),
RequestedDate = a.RequestedDate,
CloseDate = a.ClosedDate
};
if (string.IsNullOrWhiteSpace(CustomKey))
q = q.Where(a => a.CustomKey.ToLower() == CustomKey.ToLower());
foreach (SearchResultsBag item in q)
this.SearchResults.Add(item);
ShowResults = true;
}
public class SearchResultsBag
{
public string CustomKey;
public string ClientName;
public string ClientId;
public string OpenedBy;
public string ProjectId;
public string OpenDate;
public string RequestedDate;
public string CloseDate;
}
How can you cancel a drag and drop operation when the item isn't in the correct category?
Hi
Can you give a code sample to add a new table from which is dragged from treeview to sqldiagram & also add table & columns from code behind not from xml.

Hello,
By analyzing these logs this morning, we have discovered a new type of error that causes our application to fail many times by a day at one of our clients, the error shows that the interop class Windows was called by the graphics library Telerik.
2016-11-08
09:55:02,344 [1] ERROR Logger -
System.TypeInitializationException:
Une exception a été levée par l'initialiseur de type pour 'Telerik.Windows.Controls.InternalWindow.Standard.DpiHelper'. ---> System.ComponentModel.Win32Exception: L’opération a réussi
Ã
Telerik.Windows.Controls.InternalWindow.Standard.NativeMethods.GetDC(IntPtr
hwnd)
Ã
Telerik.Windows.Controls.InternalWindow.Standard.DpiHelper..cctor()
--- Fin de la trace de la pile d'exception interne ---
Ã
Telerik.Windows.Controls.InternalWindow.Standard.DpiHelper.DevicePixelsToLogical(Point
devicePoint)
Ã
Telerik.Windows.DragDrop.DragDropManager.UpdateWindowLocation()
Ã
Telerik.Windows.DragDrop.DragDropManager.CreateDragDropWindow(Object content)
à Telerik.Windows.DragDrop.DragDropManager.DoDragDrop(DependencyObject
dragSource, Object data, DragDropEffects allowedEffects, DragDropKeyStates
initialKeyState, Object dragVisual, Point relativeStartPoint, Point
dragVisualOffset)
Ã
Telerik.Windows.DragDrop.DragInitializer.StartDrag()
Ã
Telerik.Windows.DragDrop.DragInitializer.StartDragPrivate(UIElement sender)
Ã
Telerik.Windows.DragDrop.DragInitializer.DragSourceOnMouseMove(Object sender,
MouseEventArgs e)
Ã
System.Windows.Input.MouseEventArgs.InvokeEventHandler(Delegate genericHandler,
Object genericTarget)
Ã
System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
Ã
System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target,
RoutedEventArgs routedEventArgs)
Ã
System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs
args, Boolean reRaised)
Ã
System.Windows.UIElement.RaiseEventImpl(DependencyObject sender,
RoutedEventArgs args)
à System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs
args)
Ã
System.Windows.Input.InputManager.ProcessStagingArea()
Ã
System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)
Ã
System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
Ã
System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd,
InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y,
Int32 wheel)
Ã
System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd,
WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
Ã
System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg,
IntPtr wParam, IntPtr lParam, Boolean& handled)
à MS.Win32.HwndWrapper.WndProc(IntPtr
hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
Ã
MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
Ã
System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback,
Object args, Int32 numArgs)
Ã
System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate
callback, Object args, Int32 numArgs, Delegate catchHandler)
Did you ever experience this problem?
Hi,
I have a little problem. I put RadPanel in application based on Visual Studio theme with the following code.
<StackPanel x:Name="NavigationStackPanel">
<telerik:RadPanelBar
x:Name="NavigationPanel"
AutoScrollToSelectedItem="True"
BringIntoViewMode="HeaderAndItems"
ExpandMode="Multiple" SelectionMode="Single"
ItemsSource="{Binding Path=ApplicationNodes}"
ItemTemplate="{StaticResource PanelBarHeaderTemplate}"
SelectionChanged="NavigationPanel_SelectionChanged"
BorderThickness="0"
ScrollViewer.HorizontalScrollBarVisibility="Visible"
ScrollViewer.VerticalScrollBarVisibility="Visible" />
</StackPanel>
Unfortunately, scroll does not work properly as you can see on the screenshots. Any ideas how I can fix it?

Hi there,
Is it possible to resize a row number column (the first column) like other columns?
please reply it!
Hello,
I have a GridView with large number of data. I am using Datapager for pagination having 100 records per page. On click of next page I download the next 100 records.
Problem :- Inbuilt sorting, sorts the whole gridview but I want to sort only the current page not the whole grid, as other pages may not have data.
While sorting with other pages as blank, results in null values shown up at the top of the grid.
Any help appreciated!
Thanks,