private void BindManageMenuTreeByApplicationIDAndSelectNodeArray(string appID, List <string> selectNodeID) { if (appID != "") { int selectAppId = int.Parse(appID); SystemApplication selectApp = systemApplicationServiceInstance.FindById(selectAppId); if (selectApp != null) { this.tvMenus.Nodes.Clear(); this.tvMenus.Nodes.Add(systemMenuServiceInstance.GenerateSelectAssignedWebTreeNodeByApplication(selectApp, this.ResolveUrl("~/images/Menu/control_panel.gif"), this.ResolveUrl("~/images/Menu/folders.gif"), this.ResolveUrl("~/images/Menu/folder.gif"))); } TreeViewHelper.CheckTreeViewByValues(this.tvMenus, selectNodeID); this.tvMenus.ExpandAll(); } }