Hide this button

2 posts, 0 answers
  1. fred
    fred avatar
    5 posts
    Member since:
    Aug 2007

    Posted 27 Oct 2011 Link to this post

    Hi Telerik team,
    actually we are evaluating the trial version of the ajax suite.
    we'd like to hide the button (se attach file)

    how can we achived this ?

    thank you very much

  2. Princy
    Princy avatar
    17421 posts
    Member since:
    Mar 2007

    Posted 27 Oct 2011 Link to this post

    Hello Fred,

    You can try the following code snippet.

    C#:
    protected void RadTreeList1_ItemDataBound(object sender, Telerik.Web.UI.TreeListItemDataBoundEventArgs e)
    {
       if (e.Item is TreeListHeaderItem)
      {
        TreeListHeaderItem header = e.Item as TreeListHeaderItem;
        TableCell headerCell = header["colUniqueName"] as TableCell;
        headerCell.Visible = false;
      }
    }

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