DroppableContainerExtensions.cs 622 B

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