Пример #1
0
        private void DeleteList()
        {
            var ctlLists = new ListController();

            ctlLists.DeleteList(SelectedList, true);

            Response.Redirect(Globals.NavigateURL(TabId));
        }
Пример #2
0
        /// <summary>
        /// Delete List
        /// </summary>
        /// <history>
        ///     [tamttt] 20/10/2004	Created
        /// </history>
        protected void cmdDeleteList_Click(object sender, EventArgs e)
        {
            string listName  = SelectedKey.Substring(SelectedKey.IndexOf(":") + 1);
            string parentKey = SelectedKey.Replace(listName, "").TrimEnd(':');

            ListController ctlLists = new ListController();

            ctlLists.DeleteList(listName, parentKey);

            Response.Redirect(Globals.NavigateURL(TabId));
            //BindTree()
        }
        private void DeleteList()
        {
            var ctlLists = new ListController();

            ctlLists.DeleteList(SelectedList, true);

            Response.Redirect(Globals.NavigateURL(TabId));
        }
Пример #4
0
        /// <summary>
        /// Delete List
        /// </summary>
        /// <history>
        ///     [tamttt] 20/10/2004	Created
        /// </history>
        protected void cmdDeleteList_Click( object sender, EventArgs e )
        {
            string listName = SelectedKey.Substring(SelectedKey.IndexOf(":") + 1);
            string parentKey = SelectedKey.Replace(listName, "").TrimEnd(':');

            ListController ctlLists = new ListController();
            ctlLists.DeleteList(listName, parentKey);

            Response.Redirect(Globals.NavigateURL(TabId));
            //BindTree()            
        }