or
I'm getting the following stack trace when I run my app on a brand new Samsung Ativ Windows 8 touch device.NullReferenceExceptionat Telerik.Windows.Automation.Peers.GridViewGroupPanelAutomationPeer.GetChildrenCore() in c:\TB\102\WPF_Scrum\Release_WPF\Sources\Development\Controls\GridView\GridView\GridView\Automation\GridViewGroupPanelAutomationPeer.cs:line 44at System.Windows.Automation.Peers.AutomationPeer.EnsureChildren()at System.Windows.Automation.Peers.AutomationPeer.GetChildren()at System.Windows.Automation.Peers.AutomationPeer.isDescendantOf(AutomationPeer parent)at System.Windows.Automation.Peers.AutomationPeer.isDescendantOf(AutomationPeer parent)at System.Windows.Automation.Peers.AutomationPeer.isDescendantOf(AutomationPeer parent)at System.Windows.Automation.Peers.AutomationPeer.isDescendantOf(AutomationPeer parent)at System.Windows.Automation.Peers.AutomationPeer.isDescendantOf(AutomationPeer parent)at System.Windows.Automation.Peers.AutomationPeer.isDescendantOf(AutomationPeer parent)at System.Windows.Automation.Peers.AutomationPeer.isDescendantOf(AutomationPeer parent)at System.Windows.Automation.Peers.AutomationPeer.ValidateConnected(AutomationPeer connectedPeer)at System.Windows.Automation.Peers.AutomationPeer.AutomationPeerFromInputElement(IInputElement focusedElement)at System.Windows.Automation.Peers.AutomationPeer.RaiseFocusChangedEventHelper(IInputElement newFocus)at System.Windows.Input.KeyboardDevice.ChangeFocus(DependencyObject focus, Int32 timestamp)at System.Windows.Input.KeyboardDevice.TryChangeFocus(DependencyObject newFocus, IKeyboardInputProvider keyboardInputProvider, Boolean askOld, Boolean askNew, Boolean forceToNullIfFailed)at System.Windows.Input.KeyboardDevice.Focus(DependencyObject focus, Boolean askOld, Boolean askNew, Boolean forceToNullIfFailed)at System.Windows.Input.KeyboardDevice.Focus(IInputElement element)at System.Windows.UIElement.Focus()at System.Windows.Controls.ListBoxItem.HandleMouseButtonDown(MouseButton mouseButton)at System.Windows.Controls.ListBoxItem.OnMouseLeftButtonDown(MouseButtonEventArgs e)at System.Windows.UIElement.OnMouseLeftButtonDownThunk(Object sender, MouseButtonEventArgs e)at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)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.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent)at System.Windows.UIElement.OnMouseDownThunk(Object sender, MouseButtonEventArgs e)at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)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.ContentElement.RaiseTrustedEvent(RoutedEventArgs args)at System.Windows.Input.InputManager.ProcessStagingArea()at System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)at System.Windows.Input.StylusDevice.PlayBackCachedDownInputReport(Int32 timestamp)at System.Windows.Input.StylusLogic.PromoteStoredItemsToMouse(StylusTouchDevice touchDevice)at System.Windows.Input.StylusTouchDevice.OnManipulationEnded(Boolean cancel)at System.Windows.Input.TouchDevice.System.Windows.Input.IManipulator.ManipulationEnded(Boolean cancel)at System.Windows.Input.ManipulationDevice.OnManipulationCancel()at System.Windows.Input.ManipulationDevice.PostProcessInput(Object sender, ProcessInputEventArgs e)at System.Windows.Input.InputManager.RaiseProcessInputEventHandlers(ProcessInputEventHandler postProcessInput, ProcessInputEventArgs processInputEventArgs)at System.Windows.Input.InputManager.ProcessStagingArea()at System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)at System.Windows.Input.ManipulationDevice.ProcessManipulationInput(InputEventArgs e)at System.Windows.Input.ManipulationLogic.ReportFrame(ICollection`1 manipulators)at System.Windows.Input.ManipulationDevice.ReportFrame()at System.Windows.Input.ManipulationDevice.RemoveManipulator(IManipulator manipulator)at System.Windows.Input.Manipulation.TryRemoveManipulator(UIElement element, IManipulator manipulator)at System.Windows.Input.TouchDevice.PromoteMainToManipulation(UIElement manipulatableElement, TouchEventArgs touchEventArgs)at System.Windows.Input.TouchDevice.PostProcessInput(Object sender, ProcessInputEventArgs e)at System.Windows.Input.InputManager.RaiseProcessInputEventHandlers(ProcessInputEventHandler postProcessInput, ProcessInputEventArgs processInputEventArgs)at System.Windows.Input.InputManager.ProcessStagingArea()at System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)at System.Windows.Input.TouchDevice.RaiseLostCapture(IInputElement oldCapture)at System.Windows.Input.TouchDevice.Capture(IInputElement element, CaptureMode captureMode)at System.Windows.Input.TouchDevice.PromoteMainToManipulation(UIElement manipulatableElement, TouchEventArgs touchEventArgs)at System.Windows.Input.TouchDevice.PostProcessInput(Object sender, ProcessInputEventArgs e)at System.Windows.Input.InputManager.RaiseProcessInputEventHandlers(ProcessInputEventHandler postProcessInput, ProcessInputEventArgs processInputEventArgs)at System.Windows.Input.InputManager.ProcessStagingArea()at System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)at System.Windows.Input.TouchDevice.RaiseTouchUp()at System.Windows.Input.TouchDevice.ReportUp()at System.Windows.Input.StylusLogic.PromoteMainUpToTouch(StylusDevice stylusDevice, StagingAreaInputItem stagingItem)at System.Windows.Input.StylusLogic.PromoteMainToTouch(ProcessInputEventArgs e, StylusEventArgs stylusEventArgs)at System.Windows.Input.StylusLogic.PromoteMainToOther(ProcessInputEventArgs e)at System.Windows.Input.StylusLogic.PostProcessInput(Object sender, ProcessInputEventArgs e)at System.Windows.Input.InputManager.RaiseProcessInputEventHandlers(ProcessInputEventHandler postProcessInput, ProcessInputEventArgs processInputEventArgs)at System.Windows.Input.InputManager.ProcessStagingArea()at System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)at System.Windows.Input.StylusLogic.InputManagerProcessInput(Object oInput)at System.Windows.Input.StylusLogic.PreProcessInput(Object sender, PreProcessInputEventArgs e)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 MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32numArgs, Delegate catchHandler)
All I have to do in order to get the exception is navigate to page in my app with a grid view on it. The only thing I've found that works as a work-around is to manually kill the TabTip.exe. This is obviously not an ideal solution. Here's further information about the machine: Operating System: Windows 8 Processor: Intel Atom CPU Z2760 @ 1.80 GHz Installed Memory: 2.00 GB System Type: 32-bit Operation System, x86-based processor Pen and Touch: Pen and Full Windows Touch Support with 5 Touch Points
<telerik:RadPropertyGrid Item="{Binding SelectedItem, ElementName=lbxItems}">
</telerik:RadPropertyGrid>
public class Item{ [Description("This property is never set from RadPropertyGrid. Why?")] public TimeSpan TimeSpanProperty { get; set; }
}| <Controls:GridViewDataColumn Width="100" DataMemberBinding="{Binding Entries[0].Value}" Header="BID" > |
| <Controls:GridViewDataColumn.CellTemplate> |
| <DataTemplate> |
| <Grid> |
| <Grid.ColumnDefinitions> |
| <ColumnDefinition Width="50" /> |
| <ColumnDefinition Width="*" /> |
| </Grid.ColumnDefinitions> |
| <TextBlock x:Name="text" Grid.Column="0" Text="{Binding Entries[0].Value}" FontFamily="Tahoma" FontSize="10pt" /> |
| </Grid> |
| <DataTemplate.Triggers> |
| <DataTrigger Binding="{Binding Entries[0].Value,Converter={StaticResource isLessThanZero}}" Value="False" > |
| <Setter TargetName="text" Property="Background" Value="Red" /> |
| </DataTrigger> |
| </DataTemplate.Triggers> |
| </DataTemplate> |
| </Controls:GridViewDataColumn.CellTemplate> |
| </Controls:GridViewDataColumn> |
Hi,
<RadDiagram ...>
<primitives:GraphPaper />
</RadDiagram ...>
That tag causes an exception to be thrown:
A first chance exception of type 'System.InvalidOperationException' occurred in Telerik.Windows.Controls.Diagrams.dll
Additional information: Cannot modify the Items collection when the GraphSource is set.
What's up?
Regardless of how I attempt to set the visibility for it, I cannot get the FilteringDropDown control within the GridViewHeaderCell for a column bound to a custom type to appear in my RadGridView. Sample code below:
Public Class MyClass Public Property AnInteger As Integer Public Property ACustomObject As MyCustomObject End Class Public Shared myList As New List(Of MyClass) <telerik:RadGridView ItemsSource="{Binding myList}"> <telerik:RadGridView.Columns> <telerik:GridViewComboBoxColumn DataMemberBinding="{Binding ACustomObject}" ItemsSource="{Binding Source={StaticResource PredfinedListOfMyCustomObject}" DisplayMemberPath="Name" IsCustomSortingEnabled="True"> <telerik:GridViewComboBoxColumn.HeaderCellStyle> <Style TargetType="{x:Type telerik:GridViewHeaderCell}" BasedOn="{StaticResource {x:Type telerik:GridViewHeaderCell}}"> <Setter Property="FilteringUIVisibility" Value="Visible"/> </Style> </telerik:GridViewComboBoxColumn.HeaderCellStyle> <telerik:GridViewComboBoxColumn.FilteringControl> <local:CustomFilter/> </telerik:GridViewComboBoxColumn.FilteringControl> </telerik:GridViewComboBoxColumn> </telerik:RadGridView.Columns> </telerik:RadGridView>