LinkButtonExtensions.cs 602 B

1234567891011121314151617181920
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Web;
  5. using System.Web.Mvc.Html;
  6. using Bowin.Web.Controls.Mvc;
  7. namespace System.Web.Mvc
  8. {
  9. public static class LinkButtonExtensions
  10. {
  11. public static MvcHtmlString LinkButton(this HtmlHelper htmlHelper,
  12. LinkButtonOptions linkButtonOptions,
  13. System.Collections.Generic.IDictionary<string, string> htmlAttributes = null)
  14. {
  15. return MvcHtmlString.Create(Bowin.Web.Controls.Mvc.LinkButton.CreateControl(linkButtonOptions, htmlAttributes).Render());
  16. }
  17. }
  18. }