Exemplo n.º 1
0
        public void DateLoad()
        {
            SysMenuModel model = new SysMenuModel();

            model.ParentID = "0";
            List <SysMenuModel> MenuList = SMBll.GetMenuList(model);

            TopMenu.DataSource = MenuList;
            TopMenu.DataBind();
        }
Exemplo n.º 2
0
    public void UstMenu()
    {
        //Üst Menü Listeleme
        var q = from a in dcx.Menus select a;

        TopMenu.DataSource     = q;
        TopMenu.DataTextField  = "Title";
        TopMenu.DataValueField = "ID";
        TopMenu.DataBind();
    }
Exemplo n.º 3
0
 protected void Page_Load(object sender, EventArgs e)
 {
     TopMenu.DataBind();
     ShowHideLinks();
 }