automatically enhances elements based on data-attributes or class names.  supports an asyncronous user interface.  This code is open source.

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

Release Notes

3.1.0: * post function will now use a Web API error response text for display to user, with fallback to prior message logic.
* added datepicker plugin
* fix autocomplete and listbuilder async plugin for proper widget use
* consistent casing checks on form method
* on button click, the json data used has a final fallback value of the button's data attributes instead of null.
* on view template toggle, it better handles the case of when 'cancel' type actions were for an add that should not toggle or if for an edit that should toggle back to a view.
3.0.0: * renamed method 'enhanceCallback' to 'addCallback'
* removed obsolete methods and plugins
* added template-dialog and inline-editable-host-updater plugins
2.1.0: * add 'autoaync.refreshEditable' method - reloads items in an ".inline-editable-host" or an item repeater on demand.  The url of the host removes any parameters in the url for that get/post that are defined as data attributes on the button.
* add 'autoasync.urlRemoveParams' method (used by refreshEditable) .
* autoasync.clickButton added an automatic complete callback to refreshEditable on any element selectors defined in a 'data-host-selector' attribute of the button.
* 'inline-editable-button' elements can now be anywhere within an enhanced element. It can specify an 'data-editable-container' as an alternate to being in an '.inline-editable-host"

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated 603 3/4/2016 554 1/30/2015 754 2/11/2014 457 1/4/2014 448 12/23/2013 487 12/18/2013 465 12/17/2013 477 10/23/2013 476 10/21/2013 497 8/16/2013 562 6/5/2013 571 2/24/2013
Show less