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

System.InvalidOperation with GridView

4 Answers 26 Views
GridView
This is a migrated thread and some comments may be shown as answers.
GEB
Top achievements
Rank 1
GEB asked on 02 Feb 2009, 02:00 AM
The browser is reporting a System.InvalidOperation in the GridView.  Specifically, it occurs at Telerik.Windows.Control.HeaderContentControl.OnIsEnabledChanged.  Note that if the RadGridView does not have any groupings, it does not occur.  But, if I drag a column header to cause groupings, this ultimately causes the exception to occur.

The exception occurs specifically when the GridView has groupings, and I attempt to put up my own semi-opaque canvas and a modal dialogbox-like window.  As soon as the opaque canvas is displayed the excpetion occurs.


4 Answers, 1 is accepted

Sort by
0
GEB
Top achievements
Rank 1
answered on 02 Feb 2009, 02:05 AM
An addition piece of information on this error.  The browser reports that the exception is because it "Cannot resolve TargetProperty Foreground on specified target."
0
Nedyalko Nikolov
Telerik team
answered on 03 Feb 2009, 04:52 PM
Hi GEB,

Could you please provide a sample project that demonstrates this problem.
There is probably a problem with an animation of the GridViewGroupPanel, but I cannot reproduce your logic correctly without receiving addiitonal details or sample project. You can isolate the problem in a small and running project, zip the files and attach them to a new support thread.

Thanks for your time and cooperation.

Best wishes,
Nedyalko Nikolov
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
GEB
Top achievements
Rank 1
answered on 03 Feb 2009, 06:30 PM
I'll build a small project that demonstrates the issue.  How do I send it to you?  Because of at least one 3rd party assembly, I'll need to zip it as opposed to posting the source code.
0
Vlad
Telerik team
answered on 04 Feb 2009, 06:33 AM
Hello GEB,

You can open support ticket.

All the best,
Vlad
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
GridView
Asked by
GEB
Top achievements
Rank 1
Answers by
GEB
Top achievements
Rank 1
Nedyalko Nikolov
Telerik team
Vlad
Telerik team
Share this question
or