Exemple #1
0
 private void BindMenus()
 {
     pnlMenus.Visible    = true;
     rptMenus.DataSource = CoreRepository.GetMenusByRootNode(ActiveNode);
     rptMenus.DataBind();
     hplNewMenu.NavigateUrl = String.Format("~/Admin/MenuEdit.aspx?MenuId=-1&NodeId={0}", ActiveNode.Id);
 }