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

no definition for RowDetailsVisibilityChangingEvent ?

3 Answers 52 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Stephan
Top achievements
Rank 1
Stephan asked on 13 Dec 2011, 09:53 AM
Hello,

I'm trying to add an event handler for the RowDetailsVisibilityChangingEvent, but I get a compiler error.

Shouldn't this be possible:

Tb.AddHandler(

 

GridViewDataControl.RowDetailsVisibilityChangingEvent, new RoutedEventHandler(GridView_VisibilityChangingEvent));
The doc says it's part of the GridViewDataControl class.

Best regards
Oliver

 

3 Answers, 1 is accepted

Sort by
0
Dimitrina
Telerik team
answered on 13 Dec 2011, 05:07 PM
Hi Torsten,

Could you please specify what is the "Tb"? Is it a RadGridView?

Regards,
Didie
the Telerik team

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

0
Stephan
Top achievements
Rank 1
answered on 13 Dec 2011, 05:36 PM
I'm sorry. :-)
I meant this:

radGridView1.AddHandler(

 

GridViewDataControl.RowDetailsVisibilityChangingEvent, new EventHandler(VisibilityChanging));
The word "RowDetailsVisibilityChangingEvent" is underlined red.

Compiling this results in a

 

Error CS0117: "Telerik.Windows.Controls.GridView.GridViewDataControl" has definition for "RowDetailsVisibilityChangingEvent".

Best regards.

0
Stephan
Top achievements
Rank 1
answered on 13 Dec 2011, 05:37 PM
Error CS0117: "Telerik.Windows.Controls.GridView.GridViewDataControl" has NO definition for "RowDetailsVisibilityChangingEvent".

Tags
GridView
Asked by
Stephan
Top achievements
Rank 1
Answers by
Dimitrina
Telerik team
Stephan
Top achievements
Rank 1
Share this question
or