protected void CategoryTree_Menu_CategorySelected(object sender, RadTreeNodeEventArgs e) { if (CategoryTree_Menu.Selected_CategoryID != "-1") { Lib.HTMLMgr myHTMLMgr = new Lib.HTMLMgr(); GridView_HTML_Items.DataSource = myHTMLMgr.Get_HTMLs(CategoryTree_Menu.Selected_CategoryID, null); GridView_HTML_Items.DataBind(); } }
private void ItemList_DataBind() { if (!DataEval.IsEmptyQuery(_category_selected)) { RadTabStrip_Commands.Visible = true; Lib.HTMLMgr myHTMLMgr = new Lib.HTMLMgr(); ListView_ItemList.DataSource = myHTMLMgr.Get_HTMLs(_category_selected, null); ListView_ItemList.DataKeyNames = new string[] { "HTMLID" }; ListView_ItemList.DataBind(); CheckBox chk_SelectAll = (CheckBox)ListView_ItemList.FindControl("chk_SelectAll"); if (chk_SelectAll != null) { chk_SelectAll.Checked = false; } } }