I have a simple use case where if the Checkbox in column-1 is unchecked there should be some indication in the row (such as the row being grayed out).
In the example below, I would like the unchecked row "40 ,00, 00 00 03...) to be visually different than the checked row above.
What is the easiest way to accomplish this ?
Your help is appreciated.
We have an application that uses the docking mechanism, and have started seeing an exception when dragging the tab for the RadDocumentPane. This is difficult to reproduce but usually happens before the 100th attempt to drag the window (often under 10 attempts). The stack trace doesn't have any of our code in it and I'm stuck trying to understand what the Telerik control is attempting to do. Some help understanding would be useful.
This only seems to happen when attached to a new control (the microsoft automatic graph layout one) that uses a canvas underneath, I'm tempted to wonder whether the resize event is racing with the drag, but I only have a casual model of the Telerik control to try understand what's happening. I'd really just be happy to catch the exception somehow so the user doesn't see it, it doesn't seem to impact any other behaviour
[10:37:52 ERR] Unhandled exception occurred
System.ArgumentNullException: Value cannot be null.
Parameter name: current
at System.Windows.LogicalTreeHelper.GetParent(DependencyObject current)
at Telerik.Windows.Controls.InternalWindow.DragBehavior.IsLogicalAncestorOf(DependencyObject ancestor, DependencyObject descendant)
at Telerik.Windows.Controls.InternalWindow.DragBehavior.TryBeginDrag()
at Telerik.Windows.Controls.InternalWindow.DragBehavior.OnElementMouseMove(Object sender, MouseEventArgs e)
at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
at System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)
at System.Windows.Input.InputManager.ProcessStagingArea()
at System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)
at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
at System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)
at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
Hi,
I'm trying to load a RadGridView layout with differente columns number ... I've a layout with "Description" column but now I need to remove it.. But during loading an exception was throw!
How can I handle this type of situation? It may often happen that I have to remove some columns.
Hello,
I'm using a textbox where the user can type something, and my RadGridView only shows the relevant columns. For example if the user types "rad", I will only show columns containing "rad" in their header.
I just noticed when the columns are filtered out this way, and I select a range of cells, it also includes the cells from the hidden columns!
How to only include cells from visible columns in the range?
For example on this screenshot I selected the top left cell then hold Shift and selected the bottom right cell.
We see that 4 cells are selected, but actually much more got selected! (all the ones in the red box, so from "SourceRadius" to "Reach Radius" columns, because I guess internally you're using column indexes to select the range of cells?)
I must precise I'm using dynamically created columns, if it matters.
Thanks!
Hi, is it posible to add a baseline to a Milestone? Such the one in the photo.
I tried to look up the code that does this but I did not find it.
I would like if you could explain or give the code of this Panel that knows how to push the Schedule and Panel accordingly.

Hi, I am using the following code for the search as you type control inside a grid view:
<ControlTemplate x:Key="GridViewSearchPanelTemplate" TargetType="grid:GridViewSearchPanel">
<Border BorderThickness="{TemplateBinding BorderThickness}" Background="{TemplateBinding Background}" BorderBrush="{TemplateBinding BorderBrush}">
<Grid UseLayoutRounding="True">
<Grid.ColumnDefinitions>
<ColumnDefinition/>
<ColumnDefinition Width="Auto"/>
</Grid.ColumnDefinitions>
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="Auto"/>
<ColumnDefinition Width="Auto"/>
</Grid.ColumnDefinitions>
<TextBlock
telerik:LocalizationManager.ResourceKey="GridViewSearchPanelTopText"
TextWrapping="Wrap"
Margin="{TemplateBinding Padding}"
HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
VerticalAlignment="{TemplateBinding VerticalContentAlignment}"
IsHitTestVisible="False"/>
<Grid Grid.Column="1" Margin="10 0 10 0" VerticalAlignment="Center">
<TextBox x:Name="PART_SearchAsYouTypeTextBox"
AutomationProperties.Name="search as you type textBox"
Text="{Binding SearchText, Mode=TwoWay}"
MinWidth="160"
MaxWidth="200"
MinHeight="20"
Padding="3 3 15 3"
telerik:StyleManager.Theme="{StaticResource Theme}"
telerik:TextBoxBehavior.UpdateTextOnEnter="True"
FontSize="{Binding FontSize, RelativeSource={RelativeSource TemplatedParent}}"
IsTabStop="{TemplateBinding IsTabStop}"/>
<telerik:RadButton x:Name="ClearButton"
IsTabStop="False"
Visibility="Collapsed"
Style="{StaticResource ClearSearchValueButtonStyle}"
Command="searchPanel:GridViewSearchPanelCommands.ClearSearchValue"/>
<Grid.Triggers>
<EventTrigger RoutedEvent="MouseEnter">
<BeginStoryboard>
<Storyboard>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="ClearButton" Storyboard.TargetProperty="Visibility">
<DiscreteObjectKeyFrame KeyTime="0">
<DiscreteObjectKeyFrame.Value>
<Visibility>Visible</Visibility>
</DiscreteObjectKeyFrame.Value>
</DiscreteObjectKeyFrame>
</ObjectAnimationUsingKeyFrames>
</Storyboard>
</BeginStoryboard>
</EventTrigger>
<EventTrigger RoutedEvent="MouseLeave">
<BeginStoryboard>
<Storyboard>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="ClearButton" Storyboard.TargetProperty="Visibility">
<DiscreteObjectKeyFrame KeyTime="0">
<DiscreteObjectKeyFrame.Value>
<Visibility>Collapsed</Visibility>
</DiscreteObjectKeyFrame.Value>
</DiscreteObjectKeyFrame>
</ObjectAnimationUsingKeyFrames>
</Storyboard>
</BeginStoryboard>
</EventTrigger>
</Grid.Triggers>
</Grid>
</Grid>
<telerik:RadPathButton x:Name="CloseButton"
PathGeometry="M1,0 L4,3 L7,0 L8,1 L5,4 L8,7 L7,8 L4,5 L1,8 L0,7 L3,4 L0,1 z"
Visibility="{TemplateBinding CloseButtonVisibility}"
Grid.Column="1"
Width="22"
Height="22"
Padding="7"
Margin="0 5 5 5"
IsBackgroundVisible="False"
IsTabStop="False"
HorizontalAlignment="Right"
VerticalAlignment="Center"
Command="controls:RadGridViewCommands.CloseSearchPanel"/>
</Grid>
</Border>
</ControlTemplate>The ClearButton is never enabled and because of this the command, nor the mouse hovering doesn't work. If I remove the command the button is enabled, so it would seem that the CanExecute of the command never returns true. Why is that?
I am using telerik version 2022.1.222
Hi,
Looking for the "Justify" Horizontal content alignment option in the RadDiagramTextShape.
We have text shapes that have multi-line texts and we would like to justify align the text in the shape, how do we achieve the Justify text alignment for text?
Hello,
I want to know if its possible to update Gantt Tasks when you change a Start Date or End Date from the Grid View part. For example, if I delay Proptotype Task, all the task behind should be delayed the same time as Prototype.