Hello Telerik,
I am having a situation when using expandable rows.
When they have no children, the Expand Button keeps displaying.
Since it will come up empty, there is no reason for it to be there
so what I want is to hide it in case the row has no children.
I another ticket, I was guided to see this link
http://www.telerik.com/forums/show-and-hide-expand-button-dynamically
But in my case I will have no such "clean" button. I simply want to hide the expand buttons during the grid load time without losing performance (I have 1 mil rows and 4 mil children spread among them)
Please show me the best way to achieve this.
it has to do with
row.IsExpandable = false;
at some point, right? What's is it?
Thank you.
<Color x:Key="GsBackgroundDarkColor" >#002B35</Color><Color x:Key="GsForegroundLightColor" >#FFFFFFFF</Color><Color x:Key="GsMediumColor" >#FFC0C0C0</Color><Color x:Key="GsLowColor" >#758595</Color><Color x:Key="GsHighColor" >#FFBDBDC2</Color><Color x:Key="GsAccentColor" >#FF26A0DA</Color> <!-- This is the standard Windows8Touch accent color--><Color x:Key="GsEffectHighColor" >#92376472</Color><Color x:Key="GsEffectLowColor" >#FF1E2D3A</Color>var palette = Windows8TouchPalette.Palette;palette.FontSizeXXL = UserSettings.FontSizeTitle;palette.FontSizeXL = UserSettings.FontSizeHeader;palette.FontSizeL = UserSettings.FontSize;palette.FontSize = UserSettings.FontSizeMedium;palette.FontSizeS = UserSettings.FontSizeSmall;palette.FontFamily = new FontFamily("Segoe UI");if (Application.Current.TryFindResource("GsBackgroundDarkColor") is not Color backColor){ Debug.Assert(false); Log.Error("Failed to find background color");}else{ palette.MainColor = backColor; palette.InvertedForegroundColor = backColor;}if (Application.Current.TryFindResource("GsForegroundLightColor") is not Color foreColor){ Debug.Assert(false); Log.Error("Failed to find foreground light color");}else{ palette.MainForegroundColor = foreColor; palette.InvertedColor = foreColor;}if (Application.Current.TryFindResource("GsLowColor") is not Color lowColor){ Debug.Assert(false); Log.Error("Failed to find GsLowColor");}else{ palette.LowColor = lowColor;}if (Application.Current.TryFindResource("GsMediumColor") is not Color medColor){ Debug.Assert(false); Log.Error("Failed to find GsMediumColor");}else{ palette.MediumColor = medColor;}if (Application.Current.TryFindResource("GsHighColor") is not Color highColor){ Debug.Assert(false); Log.Error("Failed to find GsHighColor");}else{ palette.HighColor = highColor;}if (Application.Current.TryFindResource("GsAccentColor") is not Color accentColor){ Debug.Assert(false); Log.Error("Failed to find GsAccentColor");}else{ palette.AccentColor = accentColor;}if (Application.Current.TryFindResource("GsEffectLowColor") is not Color effectLowColor){ Debug.Assert(false); Log.Error("Failed to find GsEffectLowColor");}else{ palette.EffectLowColor = effectLowColor;}if (Application.Current.TryFindResource("GsEffectHighColor") is not Color effectHighColor){ Debug.Assert(false); Log.Error("Failed to find effectHighColor");}else{ palette.EffectLowColor = effectHighColor;}var theme = new Windows8TouchTheme();StyleManager.ApplicationTheme = theme;
I have added NoXaml assemblies in WPF .NET 5 application. I had added all necessary xaml theme files for Windows 8, Green, Fluent and Office 2019 theme.
I noticed that RadRichTextBox dialogs are not working on Office 2019 theme, Other themes are working fine. I verified all themes are importing same xaml file.
Also I did not added custom styles to Radrichtextbox.
for reference following are xaml files i added.
<ResourceDictionary.MergedDictionaries> <ResourceDictionary Source="/Telerik.Windows.Themes.Office2019;component/Themes/System.Windows.xaml"/> <ResourceDictionary Source="/Telerik.Windows.Themes.Office2019;component/Themes/Telerik.Windows.Controls.xaml"/> <ResourceDictionary Source="/Telerik.Windows.Themes.Office2019;component/Themes/Telerik.Windows.Controls.Chart.xaml"/> <ResourceDictionary Source="/Telerik.Windows.Themes.Office2019;component/Themes/Telerik.Windows.Controls.Data.xaml"/> <ResourceDictionary Source="/Telerik.Windows.Themes.Office2019;component/Themes/Telerik.Windows.Controls.Navigation.xaml"/> <ResourceDictionary Source="/Telerik.Windows.Themes.Office2019;component/Themes/Telerik.Windows.Controls.Input.xaml"/> <ResourceDictionary Source="/Telerik.Windows.Themes.Office2019;component/Themes/Telerik.Windows.Controls.GridView.xaml"/> <ResourceDictionary Source="/Telerik.Windows.Themes.Office2019;component/Themes/Telerik.Windows.Controls.RibbonView.xaml"/> <ResourceDictionary Source="/Telerik.Windows.Themes.Office2019;component/Themes/Telerik.Windows.Cloud.Controls.xaml"/> <ResourceDictionary Source="/Telerik.Windows.Themes.Office2019;component/Themes/Telerik.Windows.Controls.DataVisualization.xaml"/> <ResourceDictionary Source="/Telerik.Windows.Themes.Office2019;component/Themes/Telerik.Windows.Controls.RichTextBox.xaml"/> <ResourceDictionary Source="/Telerik.Windows.Themes.Office2019;component/Themes/Telerik.Windows.Controls.ImageEditor.xaml"/> <ResourceDictionary Source="/Telerik.Windows.Themes.Office2019;component/Themes/Telerik.Windows.Controls.Docking.xaml"/> <ResourceDictionary Source="/Telerik.Windows.Controls;component/Themes/FontResources.xaml"/> </ResourceDictionary.MergedDictionaries>
Hi,
I've added a DataPager to a DataGrid, and now the DataGrid.IsSynchronizedWithCurrentItem property is not working. How can I resolve this? Below is my code...
<DockPanel LastChildFill="True"> <telerik:RadDataPager x:Name="radDataPager" DockPanel.Dock="Bottom" Source="{Binding GridData}" PageSize="100" DisplayMode="All" AutoEllipsisMode="After" NumericButtonCount="5"/> <telerik:RadGridView x:Name="radGridView" Margin="0" Width="{Binding ElementName=GridViewGrid, Path=ActualWidth}" EnableColumnVirtualization="True" EnableRowVirtualization="True" AlternateRowBackground="AliceBlue" ItemsSource="{Binding PagedSource, ElementName=radDataPager}" SelectionUnit="FullRow" RowIndicatorVisibility="Collapsed" GridLinesVisibility="None" ScrollMode="Deferred" FilteringMode="Popup" CanUserFreezeColumns="False" AutoGenerateColumns="True" ColumnWidth="Auto" IsSynchronizedWithCurrentItem="True" IsReadOnly="True" IsTabStop="False" ValidatesOnDataErrors="InEditMode" amUI:GridViewEventManager.IsEnabled="True" amUI:LookupTextBoxFilterBehavior.LookupTextBox="{Binding ElementName=LookupTextBox}"> </telerik:RadGridView></DockPanel>

Hello,
We are currently looking for a way to extend the RadGridView with the ability to search using boolean and comparison operators. Our gridview is bound to a list that is filled with data from our database according to the search text (e.g. for a number field "<100 & >50"). In principle, this works without any problems.
However, the GridView then performs another search in the code, corresponding to a column for the same search text. This logically leads to an empty list, as the search text does not apply to a number field, but we have not yet found a way to bypass the code-based search without also deactivating the search headers etc.
Our question is accordingly at this point:
Is there a way to deactivate the search in the code?
If not, is it possible to bypass it in another way - for example by removing the binding of the search text box and manually searching through a "KeyDown Event"?
Many thanks in advance!
I want to change some controls to fluent.light style in the default fluent.dark style.
Load the Fluent.Dark when the program start.
MainWindow.xaml.cs
public MainWindow(){ FluentPalette.LoadPreset(FluentPalette.ColorVariation.Dark); InitializeComponent();}
However, some of the screens are bright, I would like to apply the Fluent.Light style to specific control.
(ex, Telerik controls and default controls(buttons etc))
Different styles have theme xaml. so I can overwrite them, but Fluent seems different.
When the entire style is defined, is there a way to change the control from Fluent.Dark to Fluent.Light in some UI groups (such as Grid)?
Hi All,
Any Idea to Notify in Drop(DragDropState state) of which Parent Class is ListBoxDragDropBehavior. I am Doing Drag and Drop operation in Rad:ListBox Control. Need to identify whether I am Dragging the ListBoxItem from top to down or down to top in Drop(DragDropState state method of the behavior. I have attached a sample image(dragvisual.jpg) for reference.
Thanks in Advance!
Regards,
Kishore Kumar

Hi there, I am using a radgridview and want to allow users to select a format for data within columns, testing this for dates I noticed that it wasn't working for expression columns that contain a string representation of the data rather than a type such as DateTime, if I make one using Now() or Today() the format string does appear to work, is there a way to parse data in an expression column into a datatype?
Hello. I used the sample provided by the SDK. (GridView - Group Selecction)
There was a problem with group sorting.
Please check the image for details.
In sdk Source (MyBehavior.cs) ======================================
private IEnumerable<object> GetSubGroupItems(IGroup gr)
{
if (!gr.HasSubgroups) ★ <<<< This alert (System.NullReferenceException: Object reference not set to an instance of an object.)
{
return gr.Items.OfType<object>();
}
else
{
List<object> items = new List<object>();
foreach (var subGr in gr.Subgroups)
{
items.AddRange(GetSubGroupItems(subGr));
}
return items;
}
}
========================================================================================
I want to sort by header group. Could you solve it?
Thanks.
