IsExpandedChanged Event bug?

2 posts, 0 answers
  1. Roy Halvorsen
    Roy Halvorsen avatar
    83 posts
    Member since:
    Oct 2008

    Posted 09 Sep 2010 Link to this post

    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: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?
  2. Veselin Vasilev
    Veselin Vasilev avatar
    2992 posts

    Posted 09 Sep 2010 Link to this post

    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

    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
  3. DevCraft banner
Back to Top