protected void trvConfig_SelectedNodeChanged(object sender, EventArgs e) { TreeNode node = trvConfig.SelectedNode; if (node != null && node.Parent != null) { CurrentGroupId = int.Parse(node.Value); CurrentGroupName = node.Text; ConfigDAL dal = new ConfigDAL(); Utility.BindDataToRepeater(rpConfigItemList, dal.GetConfigByGroup(CurrentGroupId)); } }