示例#1
0
        protected void CategoryCreate_New_CreateCategoryClick(object sender, EventArgs e)
        {
            CategoryTree_Menu.Selected_CategoryID = CategoryCreate_New.CategoryID;
            CategoryTree_Menu.LoadCategoryRoot();

            CategoryCommand_Menu.CategoryID = CategoryCreate_New.CategoryID;
            CategoryCommand_Menu.Category_Selected();

            CategoryList_DataBind(CategoryCreate_New.CategoryID);

            MultiView_Category.SetActiveView(View_ListCategory);
        }
示例#2
0
        protected void CategoryTree_Menu_CategorySelected(object sender, RadTreeNodeEventArgs e)
        {
            if (CategoryTree_Menu.Selected_CategoryID != "-1")
            {
                CategoryList_DataBind(CategoryTree_Menu.Selected_CategoryID);

                CategoryCommand_Menu.CategoryID = CategoryTree_Menu.Selected_CategoryID;
                CategoryCommand_Menu.Category_Selected();

                CategoryProperty_Modify.CategoryID = CategoryTree_Menu.Selected_CategoryID;
                CategoryProperty_Modify.Category_Selected();

                MultiView_Category.SetActiveView(View_ListCategory);
            }
            else
            {
                CategoryCommand_Menu.CategoryID = CategoryTree_Menu.Selected_CategoryID;
                CategoryCommand_Menu.Category_Selected();

                //Show Create Category Pannel
                MultiView_Category.SetActiveView(View_FirstPage);
            }
        }
示例#3
0
 protected void CategoryCommand_Menu_CreateCategoryClick(object sender, EventArgs e)
 {
     CategoryCreate_New.Control_Init();
     MultiView_Category.SetActiveView(View_CreateCategory);
 }
示例#4
0
 private void Control_Init()
 {
     MultiView_Category.SetActiveView(View_FirstPage);
 }