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

Another Q2 Update Problem: RowIsExpandedChanged

3 Answers 52 Views
TreeListView
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Tim
Top achievements
Rank 1
Tim asked on 29 Jun 2012, 01:04 PM

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.

3 Answers, 1 is accepted

Sort by
0
Dimitrina
Telerik team
answered on 02 Jul 2012, 06:30 AM
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 >>

0
Tim
Top achievements
Rank 1
answered on 21 Jul 2012, 01:31 PM
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.
0
Dimitrina
Telerik team
answered on 23 Jul 2012, 06:36 AM
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.

Tags
TreeListView
Asked by
Tim
Top achievements
Rank 1
Answers by
Dimitrina
Telerik team
Tim
Top achievements
Rank 1
Share this question
or