Exemplo n.º 1
0
 public override string HtmlString(System.Web.Mvc.HtmlHelper helper, string nameFormat)
 {
     return(ImageButtonSetBuilder.NewSet()
            .Add(ImageButtonBuilder.GridFilter())
            .Add(ImageButtonBuilder.GridClearFilter())
            .ToHtmlString());
 }
Exemplo n.º 2
0
        /// <summary>
        /// Defines a clear filter button.
        /// </summary>
        /// <returns></returns>
        public ImageButtonBuilder ClearFilter()
        {
            var button = ImageButtonBuilder.GridClearFilter();

            Column.HeaderButtonSet.Add(button);

            return(button);
        }