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

IsExpandedChanged Event bug?

1 Answer 103 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Roy Halvorsen
Top achievements
Rank 1
Roy Halvorsen asked on 09 Sep 2010, 01:49 PM
We are using a telerik radgrid and would like to be able to expand - and then load - the details for each row on demand. On the radgridView, we added a ToggleDetailsColum, like this:

        <telerik:RadGridView.Columns>
              <telerik:GridViewToggleRowDetailsColumn />

Then we try to capture the IsExpandedChanged Event on the gridviewRow. I.e. this event:
IsExpandedChanged (Occurs when GridViewRow changes its GridViewRow.IsExpanded state)


But what happens is that everytime we click on the rowdetailsexpander (+), the system throws an exception:
A first chance exception of type 'System.ArgumentException' occurred in Telerik.Windows.Data.dll
And the event never seems to occur.

Is this a bug in 2010.2.812.40?

1 Answer, 1 is accepted

Sort by
0
Veselin Vasilev
Telerik team
answered on 09 Sep 2010, 01:56 PM
Hello Roy Halvorsen,

The IsExpandedChanged event fires when you have hierarchy. You are using RowDetails and that is why the event does not fire. You can subscribe to the RowDetailsVisiblityChanged event instead.

This blog post could be useful as well:
Asynchronous Master-Details with RadGridView for Silverlight and WCF RIA Services

Regards,
Veselin Vasilev
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
Roy Halvorsen
Top achievements
Rank 1
Answers by
Veselin Vasilev
Telerik team
Share this question
or