CellFormatting invisible cells

5 posts, 1 answers
  1. Zenute Marins
    Zenute Marins avatar
    18 posts
    Member since:
    Nov 2009

    Posted 07 Mar 2012 Link to this post

    How do I access invisible cells value/text in cellformatting?
  2. Zenute Marins
    Zenute Marins avatar
    18 posts
    Member since:
    Nov 2009

    Posted 07 Mar 2012 Link to this post

    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.
  3. UI for WinForms is Visual Studio 2017 Ready
  4. Richard Slade
    Richard Slade avatar
    3000 posts
    Member since:
    May 2009

    Posted 08 Mar 2012 Link to this post

    Hi,

    Yes, this is the correct way to approach it. You can do the same inside row formatting too.
    Regards,
    Richard
  5. Answer
    Boryana
    Admin
    Boryana avatar
    330 posts

    Posted 09 Mar 2012 Link to this post

    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
    RadControls for WinForms Q1'12 release is now live! Check out what's new or download a free trial >>
  6. Zenute Marins
    Zenute Marins avatar
    18 posts
    Member since:
    Nov 2009

    Posted 09 Mar 2012 Link to this post

    Boryana,

    I have already read those articles and they were quite helpful.

    Thank you.
Back to Top
UI for WinForms is Visual Studio 2017 Ready