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

Filtering in Grid View Exception

5 Answers 118 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Cristi Catalan
Top achievements
Rank 1
Cristi Catalan asked on 20 Apr 2010, 10:06 AM
Hello,

I am encountering the following Exception after clicking on different column filters repeatedly.

"Object reference not set to an instance of an object."

 at Telerik.Windows.Controls.GridView.FilteringDropDown.OnDropDownPopupOpened(Object sender, EventArgs e)
   at Telerik.Windows.Controls.PopupWrapper.OnPopupOpened(Object sender, EventArgs e)
   at System.Windows.CoreInvokeHandler.InvokeEventHandler(Int32 typeIndex, Delegate handlerDelegate, Object sender, Object args)
   at MS.Internal.JoltHelper.FireEvent(IntPtr unmanagedObj, IntPtr unmanagedObjArgs, Int32 argsTypeIndex, String eventName)

There is no particular sequence to get the Exception, But clicking on different column filters randomly one after the other gives this Exception. I am using Version 2010.1.309.35

 Any ideeas why this occurs?

Thanks

5 Answers, 1 is accepted

Sort by
0
Rossen Hristov
Telerik team
answered on 20 Apr 2010, 10:43 AM
Hello Cristi Catalan,

Can you try with the Service Pack that will come out today or tomorrow? Maybe the issue will be gone with the new binaries.

In case it is not gone, could you please send us your sample project. We have tried clicking like you said, but we could not get the exception to occur.

Thanks in advance.

Kind regards,
Ross
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.
0
Pasha Kolhoznik
Top achievements
Rank 1
answered on 06 May 2010, 06:57 PM
I have the same Exception
Error: Unhandled Error in Silverlight 2 Application  Instance does not contain reference to an object. in Telerik.Windows.Controls.GridView.FilteringDropDown.OnDropDownPopupClosed(Object sender, EventArgs e)
   в MS.Internal.CoreInvokeHandler.InvokeEventHandler(Int32 typeIndex, Delegate handlerDelegate, Object sender, Object args)
   в MS.Internal.JoltHelper.FireEvent(IntPtr unmanagedObj, IntPtr unmanagedObjArgs, Int32 argsTypeIndex, String eventName)

It happens once in maybe a hundred clicks. I use  FilteringDropDown with a custom style (which I create in Blend) which in turn is a part of a custom style for GridViewHeaderCell. I did not clicked so persistently on an ordinary GridView so I cannot say if the reason is that I use custom styles but it definately gives  either OnDropDownPopupClosed or OnDropDownPopupOpened exception on a regular basis.
I use  2010.1.422.1030
0
Rossen Hristov
Telerik team
answered on 10 May 2010, 03:07 PM
Hi Pasha Kolhoznik,

If you can send us your project, we will take a look at it. Also, tell us what, where and how to click.

All the best,
Ross
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.
0
Arunas Tamulis
Top achievements
Rank 1
answered on 14 Jan 2011, 08:22 AM
I have the same problem. error occurs when I click the filter button on the column which contains large blocks of text.
I am using  RadControls_for_Silverlight_4_2010_3_1110_DEV. version
0
Yordanka
Telerik team
answered on 14 Jan 2011, 01:34 PM
Hello,

The problem is fixed in our latest internal build - version .1304.
Respectively, the fix will be part of the upcoming Q3 2010 SP1 which will be released officially later today.
 
All the best,
Yordanka
the Telerik team
Let us know about your Windows Phone 7 application built with RadControls and we will help you promote it. Learn more>>
Tags
GridView
Asked by
Cristi Catalan
Top achievements
Rank 1
Answers by
Rossen Hristov
Telerik team
Pasha Kolhoznik
Top achievements
Rank 1
Arunas Tamulis
Top achievements
Rank 1
Yordanka
Telerik team
Share this question
or