Show/Hide Column based on Permissions

2 posts, 0 answers
  1. Edward
    Edward avatar
    10 posts
    Member since:
    Nov 2005

    Posted 14 Jan 2009 Link to this post

    I would like to have a delete column that only shows (visible) on the grid with the user has permission to use it.  Is that possible?  I looked and I did not see an example.  I might be looking in the wrong place.  Thanks.

  2. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 14 Jan 2009 Link to this post

    Hi Edward,

    You can check for the permission and then show or hide the column using the Visible or Display property.

            //Hide the column using Visible property 
            RadGrid1.MasterTableView.GetColumn("ColumnUniqueName").Visible = false
            //Hide the column using Display property 
            RadGrid1.MasterTableView.GetColumn("ColumnUniqueName").Display = false


  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top