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

In RowLoaded, row.Cells is empty after 2012.Q3 update

11 Answers 133 Views
GridView
This is a migrated thread and some comments may be shown as answers.
SHAUN
Top achievements
Rank 1
SHAUN asked on 16 Dec 2012, 06:22 PM
Hi, we just updated our WPF project from RadControls for WPF v2012.2.725.40 to v2012.3.112.9.40.  Now we have a problem in one of our forms where the RadGridView RowLoaded event is fired when row.Cells is empty.  In the previous version of the RadControls for WPF, the cells count would reflect the number of columns in the grid.  Is there another handler we should have been using?  Our goal is to change the text of a RadButton in one of the columns (which is contained in a telerik:GridViewColumn.CellTemplate) based on the value of a property in the bound object, so after each row is loaded we check that property and adjust the button text in cell[5].  After our Q3 update it appears the cells are not loaded when RowLoaded is called.   Thank you in advance
private void grid_RowLoaded(object sender, RowLoadedEventArgs e)
{
    if (e.Row is GridViewRow && !(e.Row is GridViewNewRow))
    {
        // at this point e.Row.Cells.Count is 0
    }
}

Shaun

11 Answers, 1 is accepted

Sort by
0
Nick
Telerik team
answered on 17 Dec 2012, 09:40 AM
Hi Shaun,

The issue has been fixed in our latest internal build. May I ask you to try it out, and let us know if you still experience any problems?

Thank you in advance. 

Kind regards,
Nik
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

0
SHAUN
Top achievements
Rank 1
answered on 17 Dec 2012, 05:07 PM
Hi Nik,

Thank you for your quick reply.  The internal build RadControls_for_WPF_2012_3_1210_DEV_hotfix did correct the issue. 

Thanks,
Shaun
0
Jiri
Top achievements
Rank 2
answered on 18 Dec 2012, 12:10 PM
Hi, 
we have the same problem with last night built too. After downgrade is all ok.
0
Phil
Top achievements
Rank 1
answered on 24 Dec 2012, 01:45 AM
We are having same problem after upgrading to  2012.3.1129.40
Where can I download the hotfix?
0
Maya
Telerik team
answered on 24 Dec 2012, 07:35 AM
Hi Phil,

You can download the internal build directly from your telerik account here

Kind regards,
Maya
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

0
Mallikarjun
Top achievements
Rank 1
answered on 05 Feb 2013, 07:39 AM
Hi,

I am facing the same issue in Silverlight GridView. Is there a fix even for this?

Thanks,
Mallikarjun

0
Maya
Telerik team
answered on 05 Feb 2013, 07:58 AM
Hello Mallikarjun,

The fix should be available for Silverlight as well. Let me know in case you have the same problem with the binaries from our latest internal build. 

Kind regards,
Maya
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

0
Mallikarjun
Top achievements
Rank 1
answered on 05 Feb 2013, 10:46 AM
Thanks. This worked.
Please let me know when is the next release planned since the internal build is not supported in production env.
0
Maya
Telerik team
answered on 05 Feb 2013, 11:24 AM
Hello Mallikarjun,

The next official release Q1 2013 is scheduled for the end of this month. 

Kind regards,
Maya
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

0
Mallikarjun
Top achievements
Rank 1
answered on 05 Feb 2013, 11:48 AM
Thanks.
0
Youness
Top achievements
Rank 1
answered on 13 Aug 2013, 05:25 PM
Hi,

I'm using version 2013.2.611.45, i have a similar problem, My grid contains both horizontal and vertical scroll bars, so when the page is loaded only few columns are visible and the scroll is available for browsing others columns, when the OnRowLoaded event is fired, the e.Row.Cells contains only the visible part of cells, and i cannot access to others. Can you please look at this problem ??
Thanks.

Tags
GridView
Asked by
SHAUN
Top achievements
Rank 1
Answers by
Nick
Telerik team
SHAUN
Top achievements
Rank 1
Jiri
Top achievements
Rank 2
Phil
Top achievements
Rank 1
Maya
Telerik team
Mallikarjun
Top achievements
Rank 1
Youness
Top achievements
Rank 1
Share this question
or