Another Q2 Update Problem: RowIsExpandedChanged

4 posts, 0 answers
  1. Tim
    Tim avatar
    114 posts
    Member since:
    Aug 2011

    Posted 29 Jun 2012 Link to this post

    Hello telerik!

    I have another problem after installing the latest telerik version. I used a RowIsExpandedChanged to do some custom loading. My old code works like a charm:

    public void Expanded(object o, RowEventArgs e)
    {
       var row = e.Row as GridViewRow;
       if (row == null)
       {
          return;
       }
     
       var vm = e.Row.Item as ItemViewModel;
       if (vm != null)
       {
        // called with old telerik dlls
       }
       else
       {
        if (vm == null)
        {
            // now it will exit here!!!
            return;
        }
    }

    After applying the Q2 Update e.Row.Item is always NULL!!!
    What happened here? Any unknown breaking changes?

    Thanks a lot,
    Tim.

  2. Dimitrina
    Admin
    Dimitrina avatar
    3769 posts

    Posted 02 Jul 2012 Link to this post

    Hi Tim,

     I have tested the arguments passed when the RowIsExpandedChanged event of the RadTreeListView is raised. I got the right item in my business object though. I tested using the code from this online demo. You could find the full source code for the demo under your installation of of RadControls for Silverlight.

    May I ask you what is the previous version you have used?

    Kind regards,
    Didie
    the Telerik team

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

  3. DevCraft banner
  4. Tim
    Tim avatar
    114 posts
    Member since:
    Aug 2011

    Posted 21 Jul 2012 Link to this post

    Hi Didie,

    I'll send you a little sample project! I don't exactly know my old version because all the version numbers are the same: ... 1050
    But with the old ones it is working and even with the latest 2012_2_0716 fix it is not working...

    But anyway - thanks for your help!
    Tim.
  5. Dimitrina
    Admin
    Dimitrina avatar
    3769 posts

    Posted 23 Jul 2012 Link to this post

    Hi,

     Thank you for the sample project provided via the support ticket. We will check the case.

    Kind regards,
    Didie
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Back to Top