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

Page becomes blank after being minimized for a while

1 Answer 24 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Jason Xiao
Top achievements
Rank 1
Jason Xiao asked on 19 Jul 2010, 07:27 PM
We have a Telerik Gridview in a silverlight webpage with two storyboard updates: the 1st storyboard moves the selected item down one record at every 15 sec, and the 2nd storyboard refresh the gridview with updated data every 15 mins. We noticed that after the internet brower is minimized or the silverlight page is put on an inactive hidden brower tab for a while, and the brower or tab is actived again, the page will become blank. Here is the error message from the page error window:

Message

 

: Unhandled Error in Silverlight Application

 

Code

: 4004

 

Category

: ManagedRuntimeError

 

Message

 

: System.NullReferenceException: Object reference not set to an instance of an object.

 

at Telerik

.Windows.Controls.GridView.GridViewItemContainerGenerator.Remove(GeneratorPosition position, Int32 count, Boolean isRecycling)

 

at Telerik

.Windows.Controls.GridView.GridViewItemContainerGenerator.System.Windows.Controls.Primitives.IRecyclingItemContainerGenerator.Recycle(GeneratorPosition position, Int32 count)

 

at Telerik

.Windows.Controls.GridView.GridViewVirtualizingPanel.CleanupRange(IList children, IItemContainerGenerator generator, Int32 startIndex, Int32 count)

 

at Telerik

.Windows.Controls.GridView.GridViewVirtualizingPanel.CleanupContainers(Int32 firstViewport, BaseItemsControl itemsControl)

 

at Telerik

.Windows.Controls.GridView.GridViewVirtualizingPanel.MeasureOverride(Size constraint)

 

at System

.Windows.FrameworkElement.MeasureOverride(IntPtr nativeTarget, Single inWidth, Single inHeight, Single& outWidth, Single& outHeight)

We never had this problem when we use MS Silverlight Gridview.

Anyone has any idea what we should do to fix this?

 


Thanks 

1 Answer, 1 is accepted

Sort by
0
Yavor Georgiev
Telerik team
answered on 20 Jul 2010, 09:07 AM
Hello Jason Xiao,

 Unfortunately, without looking at your application it's difficult to pinpoint the issue, but from the stacktrace you've provided us, it's evident it has to to with virtualization. Could you please open a support ticket and send us a copy of your application?

All the best,
Yavor Georgiev
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
GridView
Asked by
Jason Xiao
Top achievements
Rank 1
Answers by
Yavor Georgiev
Telerik team
Share this question
or