
Hello,
I am currently trying to improve the UX of my application which uses RadGridViews.
At a high level, my current workflow is as follows: I my set RadBusyIndicator binding to true, fire a background worker to perform some work on a datatable (which is binded to the RadGridView) then set RadBusyIndicator binding to false on worker completed.
There are two problems I am encountering:
1) When the datatable has changed, the updating of the RadGridView blocks the UI thread, causing RadBusyIndicator to freeze. If the datatable is large enough, this can effectively freeze the application for quite some time. What would be the best way to show some kind of progress dialog for this?
2) The first time the RadGridView loads, the data_loaded event is fired. However when the datatable has changed and the RadGridView has updated, data_loaded event isnt fired. Is there an event I can monitor for this?
Setting focus programatically or on xaml declaration doesnt fit its purpose, when using the material theme.
The textbox gets the carret, but its not blinking, keypresses doesnt change the text, and the "selected color bar" in the bottom does not fill up.
suggestions??
[code]
<telerik:RadPasswordBox x:Name="txt" Background="White" WatermarkContent="Digite a Senha" HorizontalContentAlignment="Center" Margin="20 0 20 0" WatermarkBehavior="HideOnTextEntered">
<telerik:RadWatermarkTextBox.InputBindings>
<KeyBinding Command="{Binding ValidarSenhaCommand}" CommandParameter="{Binding ElementName=txt}" Key="Enter" />
</telerik:RadWatermarkTextBox.InputBindings>
</telerik:RadPasswordBox>
[/code]
[code]
private void UserControl_Loaded(object sender, RoutedEventArgs e)
{
txt.Focus();
}
[/code]
Hello
I have DoughNutChart that is loading data from DataSource. My Requirement is Clicking on a Slice should show up the Slice DoughtNut Chart information in a DataGrid.
The following is my working doughnut chart.
<p> <!-- Doughtnut Chart Legends --><br> <telerik:RadLegend x:Name="DoughnutChartLegend"<br> Items="{Binding LegendItems, ElementName=DoughnutChart}"<br> Foreground="{StaticResource WhiteBrush}"<br> VerticalAlignment="Center" <br> Grid.Column="1"/><br><br> <telerik:RadPieChart x:Name="DoughnutChart" Palette="Windows8" Grid.Column="2" Foreground="{StaticResource WhiteBrush}" Width="300" HoverMode="FadeOtherItems"><br> <telerik:DoughnutSeries InnerRadiusFactor="0.2" ItemsSource="{Binding PieDataList}" ValueBinding="Value" RadiusFactor="0.77"><br><br> <telerik:DoughnutSeries.LabelDefinitions><br> <telerik:ChartSeriesLabelDefinition Margin="-8,0,0,0" /><br> </telerik:DoughnutSeries.LabelDefinitions><br><br> <telerik:DoughnutSeries.LegendSettings><br> <telerik:DataPointLegendSettings TitleBinding="Category" /><br> </telerik:DoughnutSeries.LegendSettings><br><br> </telerik:DoughnutSeries><br> </telerik:RadPieChart><br> <br> </Grid></p> <p></p>
Hi..
I'm getting the following error onLoad() -
Any idea? Help! thx
Unable to cast object of type 'System.Windows.Automation.Peers.TextBoxAutomationPeer' to type 'System.Windows.Automation.Peers.SelectorItemAutomationPeer'. at Telerik.Windows.Controls.RadComboBoxAutomationPeer.RaiseSelectionEvents(SelectionChangedEventArgs e)
at Telerik.Windows.Controls.RadComboBox.SelectItemDelayedSelectionChanged(Object item)
Hi,
I am not able to see Telerik RadGridView in my WPF application, I have added resource dictionary in App.xaml,
App.xaml
<Application.Resources>
<ResourceDictionary>
<ResourceDictionary.MergedDictionaries>
<ResourceDictionary Source="/Telerik.Windows.Themes.Windows8;component/Themes/System.Windows.xaml"/>
<ResourceDictionary Source="/Telerik.Windows.Themes.Windows8;component/Themes/Telerik.Windows.Controls.xaml"/>
<ResourceDictionary Source="/Telerik.Windows.Themes.Windows8;component/Themes/Telerik.Windows.Controls.Data.xaml"/>
<ResourceDictionary Source="/Telerik.Windows.Themes.Windows8;component/Themes/Telerik.Windows.Controls.GridView.xaml"/>
<ResourceDictionary Source="/Telerik.Windows.Themes.Windows8;component/Themes/Telerik.Windows.Controls.Input.xaml"/>
<ResourceDictionary Source="/Telerik.Windows.Themes.Windows8;component/Themes/Telerik.Windows.Controls.Navigation.xaml"/>
</ResourceDictionary.MergedDictionaries>
</ResourceDictionary>
</Application.Resources>
But still I am unable to see RadGridView. I added RabButton and RadComboBox and both of these are visible in the view. I am consuming 2016.1.1013.45 version of Telerik binaries.
The code in my WizardWindow.xaml is,
<Window x:Class="Bentley.CatalogService.DownloadManager.WizardWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
xmlns:telerikNavigation="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.Navigation"
xmlns:wizard="clr-namespace:Telerik.Windows.Controls.Wizard;assembly=Telerik.Windows.Controls.Navigation"
WindowStartupLocation="CenterScreen"
xmlns:controls="clr-namespace:DownloadManager.Controls"
Background="Transparent"
Title="Components Center Download Manager" Height="500" Width="900" MinHeight="500" MinWidth="900">
<Grid>
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="200"/>
<ColumnDefinition Width="500"/>
<ColumnDefinition Width="200"/>
</Grid.ColumnDefinitions>
<telerik:RadButton Content="Welcome to Download Manager" Grid.Column="0"/>
<telerik:RadGridView x:Name="RadGridView1" Grid.Column="1"/>
<telerik:RadComboBox Text="Select One Please" Grid.Column="2" />
</Grid>
</Grid>
</Window>
Any ideas?
Have several type of data bound to RadGridView.ItemsSourceProperty, and target cell is in a Not ReadOnly column, how to make cell ReadOnly when DataItem is specified type?
The effect I want is make a column Editable except some cell with specified data type bound to that row, prevent these cell enter EditMode.
I have tried CellStyleSelector, but didn't find IsReadOnly DependencyProperty in GridViewCell.
Also tried using same Template in CellTemplateSelector for CellEditTemplateSelector, but these is no such CellEditStyleSelector, so the cell looks different when enter edit mode.
Thanks.
Using RadGridView in as a Hierarchical grid is it possible to bind the initial parent level and then load any other levels on demand as they are being opened by the user? If so, does anyone have sample code on how to make this work? I do not see much in the way of documentation for this in the RadGridView WPF documentation.
With some larger customer datasets our screen is slow at loading all of the data at one time.
Thanks...