Hide columns

4 posts, 0 answers
  1. Anzar
    Anzar avatar
    62 posts
    Member since:
    Sep 2012

    Posted 04 Dec 2012 Link to this post

    hi,
    how to hide columns by uisng ColumnElement?

    Thanks & Regards
    Anzar.M
  2. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 04 Dec 2012 Link to this post

    Hi,

    I suppose you want to hide a column in radgrid. Here is the sample  code.
    C#:
    protected void RadGrid2_PreRender(object sender, EventArgs e)
    {
        RadGrid2.MasterTableView.GetColumn("UniqueName").Visible = false;
    }

    Thanks,
    Shinu.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Anzar
    Anzar avatar
    62 posts
    Member since:
    Sep 2012

    Posted 04 Dec 2012 Link to this post

    Hi Shinu,
    I want to hide columns while exporting  by uisng ColumnElement.

    Thanks & Regards
    Anzar.M
  5. Kostadin
    Admin
    Kostadin avatar
    1711 posts

    Posted 06 Dec 2012 Link to this post

    Hi Anzar,

    I suggest you to check out the following help topic where it is described how to hide columns when exporting a grid.

    Greetings,
    Kostadin
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Back to Top