Пример #1
0
 private void SetCssClass(LinkButton button, OrderBy orderBy)
 {
     button.CssClass = "";
     if (orderBy.IsCurrent()) button.AddCssClass("current");
     button.AddCssClass(orderBy.IsAsc() ? "sort-up" : "sort-down");
 }