This question is locked. New answers and comments are not allowed.
Hi,
I m facing an error while trying to implement expand all / collapse all functionality for the Hierarchical Grids. The code for expand all / collapse all that I have written is
I m writing this in the Click event of the Rad Navigation Button.
The error that I m getting is
{System.NullReferenceException: Object reference not set to an instance of an object.
at Telerik.Windows.Controls.RadNavigationButton.RadNavigationButton_Click(Object sender, RoutedEventArgs e)
at System.Windows.RoutedEventHandler.Invoke(Object sender, RoutedEventArgs e)
at System.Windows.Controls.Primitives.ButtonBase.OnClick()
at System.Windows.Controls.Button.OnClick()
at System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(MouseButtonEventArgs e)
at System.Windows.Controls.Control.OnMouseLeftButtonUp(Control ctrl, EventArgs e)
at MS.Internal.JoltHelper.FireEvent(IntPtr unmanagedObj, IntPtr unmanagedObjArgs, Int32 argsTypeIndex, String eventName)}
I m using the Q2 2009 SP1 Version 2009.2.812.1030
Thanks,
Krishna Bhat
I m facing an error while trying to implement expand all / collapse all functionality for the Hierarchical Grids. The code for expand all / collapse all that I have written is
| this.RadGridView.ExpandAllHierarchyItems(); // for expand |
| this.RadGridView.CollapseAllHierarchyItems(); // for collapse |
I m writing this in the Click event of the Rad Navigation Button.
The error that I m getting is
{System.NullReferenceException: Object reference not set to an instance of an object.
at Telerik.Windows.Controls.RadNavigationButton.RadNavigationButton_Click(Object sender, RoutedEventArgs e)
at System.Windows.RoutedEventHandler.Invoke(Object sender, RoutedEventArgs e)
at System.Windows.Controls.Primitives.ButtonBase.OnClick()
at System.Windows.Controls.Button.OnClick()
at System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(MouseButtonEventArgs e)
at System.Windows.Controls.Control.OnMouseLeftButtonUp(Control ctrl, EventArgs e)
at MS.Internal.JoltHelper.FireEvent(IntPtr unmanagedObj, IntPtr unmanagedObjArgs, Int32 argsTypeIndex, String eventName)}
I m using the Q2 2009 SP1 Version 2009.2.812.1030
Thanks,
Krishna Bhat
