This is a migrated thread and some comments may be shown as answers.

GridViewSelectColumn White Screen of Death

6 Answers 87 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Brian Sayatovic
Top achievements
Rank 1
Brian Sayatovic asked on 21 Jan 2012, 01:31 AM
I have a RadTabControl and in my first tab, part of my content is a RadGridView with a GridViewSelectColumn.  The default header checkbox works great.  I can toggle it several times without an issue.

However when I switch to another tab and then attempt to switch back, my browser windows gets the "white screen of death" (the entire Silverlight control goes white and the only resort is to start over entirely).

Oddly, if we specify a header for the GridViewSelectColumn of a single space (Header=" "), then the problem doesn't occur -- and the select-all checkbox in the header is of course gone.

Any ideas?

6 Answers, 1 is accepted

Sort by
0
Brian Sayatovic
Top achievements
Rank 1
answered on 21 Jan 2012, 01:36 AM
While attached, I managed to catch the JavaScript-level wrapper of the underlying exception (I think):

"Unhandled Error in Silverlight Application 
Code: 4004    
Category: ManagedRuntimeError       
Message: System.ArgumentException: Value does not fall within the expected range.
   at MS.Internal.XcpImports.CheckHResult(UInt32 hr)
   at MS.Internal.XcpImports.SetValue(IManagedPeerBase obj, DependencyProperty property, DependencyObject doh)
   at MS.Internal.XcpImports.SetValue(IManagedPeerBase doh, DependencyProperty property, Object obj)
   at System.Windows.DependencyObject.SetObjectValueToCore(DependencyProperty dp, Object value)
   at System.Windows.DependencyObject.SetEffectiveValue(DependencyProperty property, EffectiveValueEntry& newEntry, Object newValue)
   at System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)
   at System.Windows.DependencyObject.SetValueInternal(DependencyProperty dp, Object value, Boolean allowReadOnlySet)
   at Telerik.Windows.Controls.GridView.GridViewHeaderCell.PrepareHeaderContent()
   at Telerik.Windows.Controls.GridView.GridViewHeaderCell.Prepare()
   at Telerik.Windows.Controls.GridView.GridViewHeaderRow.PrepareCell(GridViewCellBase cellBase, GridViewColumn column)
   at Telerik.Windows.Controls.GridView.GridViewCellsPanel.PrepareCell(GridViewCellBase cell, GridViewColumn column)
   at Telerik.Windows.Controls.GridView.GridViewCellsPanel.GetVirtualizedCell(GridViewColumn column, Boolean createIfNull)
   at Telerik.Windows.Controls.GridView.GridViewCellsPanel.RealizeAndMeasureCells(Int32 startIndex, Int32 predictedLastIndex, Func`2 calculateNextIndex)
   at Telerik.Windows.Controls.GridView.GridViewCellsPanel.UpdateVirtualizedCells()
   at Telerik.Windows.Controls.GridView.GridViewCellsPanel.MeasureOverride(Size availableSize)
   at System.Windows.FrameworkElement.MeasureOverride(IntPtr nativeTarget, Single inWidth, Single inHeight, Single& outWidth, Single& outHeight)     
"
0
Dimitrina
Telerik team
answered on 21 Jan 2012, 02:51 PM
Hi,

 I have tested the scenario described by you, but I couldn't get any problems on switching the tab items. I have tested with the binaries from the Q3 Service Pack. Would you please confirm the version of the RadControls that you use?

Greetings,
Didie
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

0
Brian Sayatovic
Top achievements
Rank 1
answered on 24 Jan 2012, 09:02 PM
File Version: 2011.2.920.1040
0
Vlad
Telerik team
answered on 25 Jan 2012, 08:30 AM
Hello,

 This is our Q2 2011 SP1. Please upgrade to our latest official version - Q3 2011 SP1. 

Greetings,
Vlad
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

0
Brian Sayatovic
Top achievements
Rank 1
answered on 25 Jan 2012, 10:35 PM
I'm trying to upgrade to Q3 2011 SP1, but so far I've encountered backwards-breaking changes:


If I can get past these issues, I'll let you know if the upgrade solves my original problem.
0
Brian Sayatovic
Top achievements
Rank 1
answered on 25 Jan 2012, 10:56 PM
After getting past those two issues, the GridViewSelectColumn is now NOT crashing my screen!
Tags
GridView
Asked by
Brian Sayatovic
Top achievements
Rank 1
Answers by
Brian Sayatovic
Top achievements
Rank 1
Dimitrina
Telerik team
Vlad
Telerik team
Share this question
or