Product Bundles
DevCraft
All Telerik .NET and Kendo UI JavaScript components and AI Tools in one package.
Kendo UI
Bundle of AI Tools plus four JavaScript UI libraries built natively for jQuery, Angular, React and Vue.
Build JavaScript UI
Javascript
Telerik
Build modern .NET business apps
.Net Web
Cross-Platform
Desktop
Reporting and Documents
AI for Developers & IT
Ensure AI program success
AI Coding
AI Engineering
Additional Tools
Enhance the developer and designer experience
Testing & Mocking
Debugging
UI/UX Tools
CMS
Free Tools
Support and Learning
Productivity and Design Tools
Hi,
As mentioned above, I would like to add a button that allows me to select which columns of the radgridview that I want to show. May I seek your advise on this?
I tried the following but it doesn't work.
Hello Lim,
I tested the above code snippet and it works correctly on my end. I attached a sample project that showcases this for you to test.
Would it be possible to give it a try and see if I am missing something of importance?
This could be the case when using the NoXaml version of our assemblies without merging the resource dictionaries for the applied theme.
The following article showcases the most common cases of missing controls in the UI:
Missing Controls in the UI - Telerik UI for WPF
I tried the following but it doesn't work.
<Window x:Class="WpfApplication1.MainWindow"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"
Title="MainWindow" Height="350" Width="525">
<Grid>
<Grid.ColumnsDefinitions>
<ColumnsDefinition Height="Auto" />
<ColumnsDefinition Height="50" />
<ColumnsDefinition />
</Grid.ColumnsDefinitions>
<telerik:RadDropDownButton AutoOpenDelay="0:0:0.0"
Content="Choose an Item">
<telerik:RadDropDownButton.DropDownContent>
<ListBox ItemsSource="{Binding Columns, ElementName=RadGridView1}" Grid.Column="0">
<ListBox.ItemTemplate>
<DataTemplate>
<CheckBox Content="{Binding Header}" IsChecked="{Binding IsVisible, Mode=TwoWay}" />
</DataTemplate>
</ListBox.ItemTemplate>
</ListBox>
</telerik:RadDropDownButton.DropDownContent>
</telerik:RadDropDownButton>
<telerik:RadGridView x:Name="RadGridView1" ItemsSource="{Binding View}" Grid.Column="1" />
</Grid>
</Window>
Hello Lim,
I tested the above code snippet and it works correctly on my end. I attached a sample project that showcases this for you to test.
Would it be possible to give it a try and see if I am missing something of importance?
This could be the case when using the NoXaml version of our assemblies without merging the resource dictionaries for the applied theme.
The following article showcases the most common cases of missing controls in the UI:
Missing Controls in the UI - Telerik UI for WPF