about treelist select command

1 posts, 0 answers
  1. Teoman
    Teoman avatar
    69 posts
    Member since:
    Jan 2009

    Posted 07 Aug 2011 Link to this post

    I have treelist.it has nodes.when i click to expand the treelist it behaves i selected it.but i dont click select button i only click the + icon on treelist.this is the code which i tried.

        protected void RadTreeList1_ItemCommand(object sender, TreeListCommandEventArgs e)
            if (e.CommandName == RadTreeList.SelectCommandName)
                TreeListDataItem item = e.Item as TreeListDataItem;
                Guid depid = new Guid(item.GetDataKeyValue("DEPID").ToString());
                RadWindow1.VisibleOnPageLoad = true;
                RadWindow1.NavigateUrl = "department-update.aspx?depid=" + depid;

    and this is my button

    <telerik:TreeListButtonColumn ButtonType="ImageButton" CommandName="Select" ImageUrl="Contents/Icons/select.png"
Back to Top