Telerik Forums
UI for WPF Forum
3 answers
230 views
Hi I can't seem to disable the acrylic effect on the RadTabControl. I have it nested inside a dockpanel that's inside a RadWindow, but as long as the RadWindow has acrylic applied, the RadTabControl's HeaderBackground does too, I've tried changing the IsAcrylic property for the tabcontrol in both XAML and cs and neither seem to work. It's either both the RadWindow and the RadTabControl have the transparent acrylic effect, or neither of them do. Is there something I'm missing or is this a bug?

Sia
Telerik team
 answered on 11 Apr 2018
0 answers
151 views

At present, I can use "PaneStateChange" to set the size of floating window, or "ReatinPaneSizeMode" to keep floating size same with previous docking size. 

My question is that if I dock the floating window back, how can I set the docking size instead of the default stretching along the horizontal or vertical direction.

Or is there any parameter to indicate the docking process finished so that I can reset the pane size after docking.

 

Thanks

Lianyang

Lianyang
Top achievements
Rank 1
 asked on 10 Apr 2018
1 answer
225 views

Currently, i am working on current cell in radgridview to reset to 0 row and 0 column.

 

Thanks,

Amit Kumar Kulha

Martin Ivanov
Telerik team
 answered on 10 Apr 2018
5 answers
379 views
How can I achieve the following attached Image in GridView? In the example (https://docs.telerik.com/devtools/wpf/controls/radgridview/columns/column-headers), the data columns are known but in my case, I don't know the column headers to do such example. Any suggestions on how to achieve this?
Martin Ivanov
Telerik team
 answered on 10 Apr 2018
1 answer
338 views

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?

 

 

Sia
Telerik team
 answered on 09 Apr 2018
2 answers
424 views

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]

Sia
Telerik team
 answered on 09 Apr 2018
1 answer
148 views

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>

 

 

 

 

Sia
Telerik team
 answered on 09 Apr 2018
2 answers
141 views

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)

Sia
Telerik team
 answered on 09 Apr 2018
4 answers
1.1K+ views

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?

 

Roman
Top achievements
Rank 2
 answered on 09 Apr 2018
2 answers
1.0K+ views

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.

runer
Top achievements
Rank 1
 answered on 08 Apr 2018
Narrow your results
Selected tags
Tags
GridView
General Discussions
Chart
RichTextBox
Docking
ScheduleView
ChartView
TreeView
Diagram
Map
ComboBox
TreeListView
Window
RibbonView and RibbonWindow
PropertyGrid
DragAndDrop
TabControl
TileView
Carousel
DataForm
PDFViewer
MaskedInput (Numeric, DateTime, Text, Currency)
AutoCompleteBox
DatePicker
Buttons
ListBox
GanttView
PivotGrid
Spreadsheet
Gauges
NumericUpDown
PanelBar
DateTimePicker
DataFilter
Menu
ContextMenu
TimeLine
Calendar
Installer and Visual Studio Extensions
ImageEditor
BusyIndicator
Slider
Expander
TileList
PersistenceFramework
DataPager
Styling
TimeBar
OutlookBar
TransitionControl
Book
FileDialogs
ToolBar
ColorPicker
TimePicker
SyntaxEditor
MultiColumnComboBox
VirtualGrid
Wizard
ExpressionEditor
NavigationView (Hamburger Menu)
DesktopAlert
WatermarkTextBox
BarCode
SpellChecker
DataServiceDataSource
EntityFrameworkDataSource
RadialMenu
ChartView3D
Data Virtualization
BreadCrumb
ProgressBar
Sparkline
LayoutControl
TabbedWindow
ToolTip
CloudUpload
ColorEditor
TreeMap and PivotMap
EntityFrameworkCoreDataSource (.Net Core)
HeatMap
Chat (Conversational UI)
VirtualizingWrapPanel
Calculator
NotifyIcon
TaskBoard
TimeSpanPicker
BulletGraph
WebCam
CardView
DataBar
Licensing
FilePathPicker
PasswordBox
Rating
SplashScreen
Accessibility
Callout
CollectionNavigator
Localization
AutoSuggestBox
VirtualKeyboard
HighlightTextBlock
Security
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Andrey
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Andrey
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?