using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Web.Mvc; namespace Bowin.Web.Controls.Mvc { public static class DateTimeBoxExtensions { public static MvcHtmlString DateTimeBox(this HtmlHelper htmlHelper, TextBoxOptions textBoxOptions, System.Collections.Generic.IDictionary htmlAttributes = null) { return MvcHtmlString.Create(Bowin.Web.Controls.Mvc.TextBox.CreateControl(textBoxOptions, htmlAttributes).Render()); } } }