Пример #1
0
 protected void btnClear_Click(object sender, EventArgs e)
 {
     CategoryId.ClearSelection();
     AgeGroupId.ClearSelection();
     BranchId.ClearSelection();
     LocationID.ClearSelection();
     odsBadges.DataBind();
     rptr.DataBind();
 }
Пример #2
0
        protected void btnClear_Click(object sender, EventArgs e)
        {
            CategoryId.ClearSelection();
            AgeGroupId.ClearSelection();
            BranchId.ClearSelection();
            LocationID.ClearSelection();
            odsBadges.DataBind();
            rptr.DataBind();
            var wt = new WebTools();

            CategoryId.CssClass = wt.CssRemoveClass(CategoryId.CssClass, "gra-search-active");
            AgeGroupId.CssClass = wt.CssRemoveClass(AgeGroupId.CssClass, "gra-search-active");
            BranchId.CssClass   = wt.CssRemoveClass(BranchId.CssClass, "gra-search-active");
            LocationID.CssClass = wt.CssRemoveClass(LocationID.CssClass, "gra-search-active");
        }