Exemple #1
0
        protected void lbtn_PageActive_Command(object sender, CommandEventArgs e)
        {
            if (e.CommandArgument != null)
            {
                PageMgr myPageMgr = new PageMgr();
                myPageMgr.Reset_Page_Active(_pageindexid);

                e2Data[] UpdateData =
                {
                    new e2Data("PageID",   e.CommandArgument.ToString()),
                    new e2Data("IsActive", "1")
                };
                myPageMgr.Edit_Page(UpdateData);

                Control_Init();
            }
        }