GridViewSelectColumn White Screen of Death

7 posts, 0 answers
  1. Brian Sayatovic
    Brian Sayatovic avatar
    91 posts
    Member since:
    Nov 2009

    Posted 20 Jan 2012 Link to this post

    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?
  2. Brian Sayatovic
    Brian Sayatovic avatar
    91 posts
    Member since:
    Nov 2009

    Posted 20 Jan 2012 Link to this post

    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)     
    "
  3. Dimitrina
    Admin
    Dimitrina avatar
    3769 posts

    Posted 21 Jan 2012 Link to this post

    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 >>

  4. Brian Sayatovic
    Brian Sayatovic avatar
    91 posts
    Member since:
    Nov 2009

    Posted 24 Jan 2012 Link to this post

    File Version: 2011.2.920.1040
  5. Vlad
    Admin
    Vlad avatar
    11100 posts

    Posted 25 Jan 2012 Link to this post

    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 >>

  6. Brian Sayatovic
    Brian Sayatovic avatar
    91 posts
    Member since:
    Nov 2009

    Posted 25 Jan 2012 Link to this post

    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.
  7. Brian Sayatovic
    Brian Sayatovic avatar
    91 posts
    Member since:
    Nov 2009

    Posted 25 Jan 2012 Link to this post

    After getting past those two issues, the GridViewSelectColumn is now NOT crashing my screen!
Back to Top