Hi,
I have created a RadGridView with a couple of columns (one of them being GridViewSelectColumn). I have also created a GroupDescriptor with GroupHeaderTemplate and I would like to add a GridViewCheckBox to the GroupHeaderTemplate, so I can select all items in a particular group by one click, however, the GridViewCheckBox is not enabled. I tried different properties on the control, but none of them works for me.
If I add just a CheckBox then it works, but it does not have the style I need and I would not like to reproduce the Style already present on GridViewSelectColumn.
Can you advise how to enable the GridViewCheckBox ?
Thanks
<telerik:RadGridView Grid.Row="1" ItemsSource="{Binding Collection}"
AutoGenerateColumns="False"
ShowGroupPanel="False"
RowIndicatorVisibility="Collapsed"
Padding="10"
IsReadOnly="True"
FrozenColumnsSplitterVisibility="Collapsed"
IsFilteringAllowed="False"
SelectionUnit="FullRow"
SelectionMode="Extended">
<telerik:RadGridView.GroupHeaderTemplate>
</telerik:RadGridView.GroupHeaderTemplate>
<telerik:RadGridView.GroupDescriptors>
<telerik:GroupDescriptor Member="Id"
SortDirection="Ascending" />
</telerik:RadGridView.GroupDescriptors>
<telerik:RadGridView.Columns>
<telerik:GridViewSelectColumn/>
<telerik:GridViewDataColumn Header="Date" MinWidth="150"
DataMemberBinding="{Binding RollDate}" />
<telerik:GridViewDataColumn Header="ID" MinWidth="100"
DataMemberBinding="{Binding Id}" />
<telerik:GridViewDataColumn Header="Name" MinWidth="220"
DataMemberBinding="{Binding Name}" />
</telerik:RadGridView.Columns>
</telerik:RadGridView>
</Grid>
I'm using the Prism 8 template pack to create a WPF solution.
I'm adding the Nuget package 'Telerik.UI.for.Wpf.60.Trial' (No Xaml)
I'm adding the solution of KB (Using RadWindow with Prism 7 | Telerik UI for WPF)
Now I have problems to start the solution.
No error, but no viwe is visible.
If I use the Nuget package 'Telerik.UI.for.Wpf.60.xaml.Trial' (with Xaml) I have no problems.
Why I have problems with the 'no xaml' version?
Attached a demo with PRISM 8
Hi team,
How can I change the background of the tabcontrol header?
And also I want to set corners of header area like image 2.
I have setted corners of content area ,but there is a outline, look at image 3
Thanks in Advance.
Hi,
1-Is it possible to set the RadDesktopAlert height automatically based on the content text?
2-After showing RadDesktopAlert, if we move the mouse over RadDesktopAlert, the background color will change. What should I do if we don't want the background color to change?
3-After RadDesktopAlert is shown, if we move the mouse over RadDesktopAlert, the text of the content will be underlined. What should we do if we don't want this underline to be displayed?
4-After RadDesktopAlert is displayed, if we move the mouse over RadDesktopAlert, a line will be drawn under the content text and RadDesktopAlert will be closed by clicking on the content text. What should I do if RadDesktopAlert is not closed by clicking on the content text?
5-If the Windows theme is in High contrast, it will not be applied to RadDesktopAlert. If we want the background to be black in the contrast theme and the content to be displayed in white, how should we do this?
6-How to change the color of the header & content text?
Thank you
I coded the following XAML
<FileDialogs:ExplorerControl x:Name="ecDeployStuff" HorizontalAlignment="Left" Margin="12,28,0,0" VerticalAlignment="Top" CurrentDirectoryPath="C:\lala\Main\zzzDevelopment\abc" />
when I launch the WPF app it shows as the C: drive
am I missing another property to make the CurrentDirectoryPath work?
I would appreciate help on how to change 12AM to Sunday, Monday, etc.
And how to change the gray 12AM to the days of the month.
And also change the color of this gray including MouseOver.
Hi,
in my application we have an ui which displays transaction data in it's raw form (XML Data), it's optional exception and a further content control with some parsed datails.
The structure of the RadWindow the following:
<UserControl x:Class="TransactionXmlDataView"
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">
<telerik:RadBusyIndicator x:Name="BusyIndicator">
<Grid HorizontalAlignment="Stretch"
Height="Auto"
Width="Auto">
<Grid.RowDefinitions>
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
<RowDefinition Height="1*" />
</Grid.RowDefinitions>
<ContentControl x:Name="ParsedTransactionDataViewer"
Visibility="{Binding HasParsedTransactionData, Converter={StaticResource BoolToVisibilityConverter}}" />
<TextBlock Text="{Binding DisplayName}"
HorizontalAlignment="Left"
Grid.Row="1"/>
<telerik:RadLayoutControl Grid.Row="2">
<ContentControl x:Name="XmlDocumentFileViewer" Width="{Binding XmlViewerWidth}"/>
<telerik:LayoutControlSplitter Visibility="{Binding ExceptionViewerVisible, Converter={StaticResource BooleanToVisibleCollapsedConverter}}"/>
<TextBox x:Name="ExceptionText"
TextWrapping="Wrap"
IsReadOnly="True"
VerticalContentAlignment="Top"
Visibility="{Binding ExceptionViewerVisible, Converter={StaticResource BooleanToVisibleCollapsedConverter}}"/>
</telerik:RadLayoutControl>
</Grid>
</telerik:RadBusyIndicator>
</UserControl>
Not all parts of the UI are always shown:
Only the ContentControl XmlDocumentFileViewer is always displayed. This ContentControl is a UserControl with another ContenControl inside which Content is Binding to an RadSyntaxEditor in the Code.
<UserControl x:Class="XmlDocumentFileViewerView"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
<ContentControl Width="Auto"
Height="{Binding ContentHeight}"
Content="{Binding XmlRadSyntaxEditor}" />
</UserControl>
<UserControl x:Class="TransactionXmlDataView"
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">
<telerik:RadBusyIndicator x:Name="BusyIndicator"
Style="{DynamicResource InputRadBusyIndicatorStyle}">
<Grid HorizontalAlignment="Stretch"
Margin="10"
Height="Auto"
Width="Auto">
<Grid.RowDefinitions>
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
<RowDefinition Height="1*" />
</Grid.RowDefinitions>
<ContentControl x:Name="XmlDocumentFileViewer" Width="1000" Height="1000"/>
</Grid>
</telerik:RadBusyIndicator>
</UserControl>
<UserControl x:Class="XmlDocumentFileViewerView"
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">
<telerik:RadSyntaxEditor
x:Name="XmlEditor"
IsReadOnly="True"
AllowScaling="False"
VerticalScrollBarVisibility="Visible"
HorizontalScrollBarVisibility="Visible"
Height="1000"
Width="1000"/>
</UserControl>
Hi,
I an using RadMaskedCurrencyInput control for taking number from input its work fine for using English Keyboard. The problem is when I change the system language to Japanese and enter number using NumPad, instead of new value replace with entered one, new value is concatenate with previous value. Like if 415 is already entered, I switch the Keyboard to Japanese and select the previous entered value and type new number 325, Predication window is open and choose the number 325. After's electing value, our RadMaskedCurrencyInput shows 325415 value instead of 325.
Please help me to resolve this.
Thanks in Advance.
I've tried to combine the Telerik examples 'Dynamic RadMenu' with 'Switching themes at runtime'.
I've realized, that the subitems of the RadMenu do not change the theme (color) correctly.
I think that the ItemContainerStyle don't work correctly.
I've attached an example with two RadMenu.
First is created dynamically the second is static.
In the menu you can switch to different themes.
Please have look to the submenues (file). The color don't change.
I've also realized that also the size of the icons are displayed differently.