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

            Column.HeaderButtonSet.Add(button);

            return(button);
        }