Provides a set of MVC helper and extension methods for the popular Bootstrap, Gumby and jQuery UI CSS frameworks. Includes other MVC helpers which can be used in core MVC development as well.

There is a newer version of this package available.
See the version list below for details.
Install-Package WebExtras.Mvc -Version
dotnet add package WebExtras.Mvc --version
<PackageReference Include="WebExtras.Mvc" Version="" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add WebExtras.Mvc --version
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

The project is now licensed under Apache License v2.0
A major namespace shuffle has taken place for the entire library. While all the old functionality is still available, you will have to update your USING statements accordingly. Both WebExtras.Mvc and WebExtras.Nancy libraries now depend on WebExtras library and as such you must add this library to your project

Recommended: Creation of HTML components should now be done using the HtmlComponent instead of HtmlElement class. HtmlComponent can then be converted to a HtmlElement using the ToHtmlElement() extension method in the WebExtras.Mvc.Html namespace. HtmlElement class is now marked as obsolete and will be removed in the next major release.

- Enh: IBootstrapFormComponent now gives access to the wrapper <DIV> element
- Enh: Added ability to retrieve only specific type of alerts from GetUserAlerts extension method
- Enh: BootstrapConstants => BootstrapSettings
- Enh: JsonNetResult now uses the global JSON serialiser settings set via WebExtrasSettings.SerialiseSettings
- Enh: WebExtrasConstants => WebExtrasSettings, WebExtrasMvcConstants has been merged into WebExtrasSettings
- Enh: Errors on model state can now be ignored using the IgnoreErrors<> extension method
- Enh: Adding EButton.Back as a synonym of EButton.Cancel
- Enh: Adding IHtmlRenderer.PreRender to be able to hook into the rendering pipeline just before the compose phase starts
- Enh: A form component can now have it's value set via IFormComponent.SetValue(...)
- Enh: jQuery dataTables bindings now support adding of plugin options via DatatableSettings.Plugins property. Buttons and ColVis plugins are supported out-of-the-box
- Fix: Fixing a bug in the dropdown creator extension where the selected option was not honoured when the SelectListItem.Selected property was set to true

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
3.0.0-pre20171103 234 11/3/2017 479 12/22/2016 373 11/3/2016 340 10/28/2016 294 10/28/2016
1.5.0 378 5/3/2016
1.4.0-Beta-1 444 5/21/2014
1.3.2 914 4/29/2014
1.3.1 431 4/14/2014 413 12/24/2013
1.3.0 347 12/24/2013
Show less