Zenute Marins
Top achievements
Rank 1
Zenute Marins
asked on 08 Mar 2012, 12:06 AM
How do I access invisible cells value/text in cellformatting?
4 Answers, 1 is accepted
0
Zenute Marins
Top achievements
Rank 1
answered on 08 Mar 2012, 12:20 AM
I figured it out.
In CellFormatting I retrieved the hidden cell value by accessing:
radgrid.Rows[e.RowIndex].Cells["hiddencell"].Value.ToString();
I hope this is the right way to do it.
Thank you.
In CellFormatting I retrieved the hidden cell value by accessing:
radgrid.Rows[e.RowIndex].Cells["hiddencell"].Value.ToString();
I hope this is the right way to do it.
Thank you.
0
Richard Slade
Top achievements
Rank 2
answered on 08 Mar 2012, 10:33 AM
Hi,
Yes, this is the correct way to approach it. You can do the same inside row formatting too.
Regards,
Richard
Yes, this is the correct way to approach it. You can do the same inside row formatting too.
Regards,
Richard
0
Accepted
Hello,
Thank you for writing.
As Richard said, the approach is correct. I would just like to add a reference to two of our documentation articles that provide further information on the topic: Formatting Cells and Formatting Rows.
Kind regards,
Boryana
the Telerik team
Thank you for writing.
As Richard said, the approach is correct. I would just like to add a reference to two of our documentation articles that provide further information on the topic: Formatting Cells and Formatting Rows.
Kind regards,
Boryana
the Telerik team
RadControls for WinForms Q1'12 release is now live! Check out what's new or download a free trial >>
0
Zenute Marins
Top achievements
Rank 1
answered on 09 Mar 2012, 01:13 PM
Boryana,
I have already read those articles and they were quite helpful.
Thank you.
I have already read those articles and they were quite helpful.
Thank you.