Hi
Could anyone give me a WPF example of using the RadWizardCommands? I have defined the wizard in XAML and would like to receive the commands (MoveCurrentToNext, Finish, etc.) in the view model.
Thank you.
Adrian
.I have the following error when I use RadChartView: 'System.Windows.Markup.XamlParseException' in PresentationFramework.dll with message: "Could not load file or assembly Telerik.Windows.Controls.Chart, PublicKeyToken=5803cfa389c90ce7 or one of its dependencies. The system cannot find the file specified". Below is UserControl XAML code where the exception is thrown.
<UserControl x:Class="DeviceStatus.Views.DeviceStatusView"
xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:prism="http://prismlibrary.com/"
prism:ViewModelLocator.AutoWireViewModel="True">
<Grid>
<Grid.RowDefinitions>
<RowDefinition/>
<RowDefinition/>
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition/>
<ColumnDefinition/>
</Grid.ColumnDefinitions>
<Label Grid.Row="0" Grid.Column="0" Content="Состояние прибора" VerticalAlignment="Bottom"/>
<TextBox Grid.Row="0" Grid.Column="1" Text="{Binding DeviceStatusModel.Header}" AutomationProperties.AutomationId="DeviceStatusTextBox"/>
<telerik:RadCartesianChart Grid.Row="1" Grid.Column="0">
<telerik:RadCartesianChart.HorizontalAxis>
<telerik:LinearAxis/>
</telerik:RadCartesianChart.HorizontalAxis>
<telerik:RadCartesianChart.VerticalAxis>
<telerik:LinearAxis/>
</telerik:RadCartesianChart.VerticalAxis>
</telerik:RadCartesianChart>
</Grid>
</UserControl>
I develop my WPF MVVM application using Prism 6. I use MS VS 2015 Professional as IDE. I had created the my app solution and shell project there using Prism Template Pack. The type of solution is Prism Unity App. After its creation I added Prism Module (WPF) and then added Prism UserControl (WPF) in Views folder of the Prism Module. XAML markup of this UserControl is shown above. Why does this error occur? Please help me eliminate it.
Hi!
I had a trouble as the following.
Simply make a WPF app and work fine with RadWindow.Alert('good').
But, It freeze my app(nothing I can control, it just was frozen) when I have a breakpoint before showing radwindow. Could I fix it?
private void button_Click(object sender, RoutedEventArgs e)
{
Debugger.Break();
RadWindow.Alert("freeze");
}
Best regards
Hi, I am using the implicit style "VisualStudio2013" and I want to change the appearance of an entire window based upon whatever preset I've loaded.
For some reason, when I load the presets, only the RadButtons and the RadPropertyGrid change their appearance. Everything else (RadGridView, RadTreeListView, RadMenu) just keep the standard theme.
What extra steps do I need to take to fix this?
Many thanks,
M.Young
Class MainWindow Private Sub RadButton_Click(sender As Object , e As RoutedEventArgs) Telerik.Windows.Controls.VisualStudio2013Palette.LoadPreset(Telerik.Windows.Controls.VisualStudio2013Palette.ColorVariation.Light) End SubPrivate Sub RadButton_Click_1(sender As Object , e As RoutedEventArgs) Telerik.Windows.Controls.VisualStudio2013Palette.LoadPreset(Telerik.Windows.Controls.VisualStudio2013Palette.ColorVariation.Dark)<End SubPrivate Sub RadButton_Click_2(sender As Object , e As RoutedEventArgs) Telerik.Windows.Controls.VisualStudio2013Palette.LoadPreset(Telerik.Windows.Controls.VisualStudio2013Palette.ColorVariation.Blue)End SubEnd Class
<Window x:Class="MainWindow"xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"xmlns:telerikcontrols="clr-namespace:Telerik.Windows;assembly=Telerik.Windows.Controls"Title="MainWindow" Height="350" Width="857.951"><Grid><Grid.RowDefinitions><RowDefinition Height="13*"></RowDefinition><RowDefinition Height="147*"></RowDefinition></Grid.RowDefinitions><telerik:RadMenu><telerik:RadMenu.Items><telerik:RadMenuItem Header="Test"><telerik:RadMenuItem Header="Test"></telerik:RadMenuItem></telerik:RadMenuItem><telerik:RadMenuItem Header="Test"></telerik:RadMenuItem><telerik:RadMenuItem Header="Test"></telerik:RadMenuItem><telerik:RadMenuItem Header="Test"></telerik:RadMenuItem></telerik:RadMenu.Items></telerik:RadMenu><StackPanel Orientation="Horizontal" Grid.Row="1" Margin="10"><telerik:RadButton Width="100" Content="Light" Click="RadButton_Click"></telerik:RadButton><telerik:RadButton Width="100" Content="Dark" Click="RadButton_Click_1"></telerik:RadButton><telerik:RadButton Width="100" Content="Blue" Click="RadButton_Click_2"></telerik:RadButton><telerik:RadPropertyGrid Width="150" /><telerik:RadGridView Width="150"/><telerik:RadTreeListView Width="150"/></StackPanel></Grid> </Window>Dear Team,
we need to enable copy functionality for our WPF application especially for radgridview. How could i enable this? As per my understanding To enable cell copy i've to do like ClipboardCopyMode="Cell" and SelectionUnit="Cell". If i apply this then row selection is not working because i am using row SelectionChanged event in order to do some operation.
<telerik:RadGridView x:Name="gvDefaultDashboard" AutoGenerateColumns="False" CanUserResizeColumns="True" Padding="1,0,0,0" SelectionMode="Single" EnableColumnVirtualization="False" ItemsSource="{Binding RelativeSource={RelativeSource AncestorType=UserControl},Path=DataContext.GetPagedInfo,Mode=TwoWay}" SelectionChanged="gvDefaultDashboard_SelectionChanged" Filtering="gvDefaultDashboard_Filtering" FilterOperatorsLoading="OnRadGridViewFilterOperatorsLoading" AutoExpandGroups="True" Sorting="gvDefaultDashboard_Sorting" Grouping="gvDefaultDashboard_Grouping" telerik:PersistenceManager.StorageId="{Binding DashBoardPersistenceID,Mode=TwoWay}" ClipboardCopyMode="Cells" SelectionUnit="Cell"></telerik:RadGridView>I want to enable cell copy without affection the row selectionchanged event how could i achieve this. Please advice.
Thank you.
When export grid to Excel (using ExcelML format) all numbers are exported as text.
Is there a way to export numbers as formatted numerik values?
Thank you