meta info
- Title: LazZiya.TagHelpers
- Keywords: asp.net-core, taghelpers, paging, alerts, language, dropdown, localization, valdiation, scripts
- Description: A collection of usefull tag helpers for every Asp.Net Core web app.
- Author: Ziya Mollamahmut
- Date: 08-Aug-2020
- Image: https://github.com/LazZiya/Docs/raw/master/LazZiya.TagHelpers/v5.0/images/lazziya-tagheleprs-logo.png
- Image-alt: LazZiya.TagHelpers Logo
- Version: v5.0
A collection of useful TagHelpers for any ASP.NET Core project.
Install via nuget package manager:
Install-Package LazZiya.TagHelpers
Then add to _ViewImports.cshtml:
@addTagHelper *, LazZiya.TagHelpers
- Paging TagHelper
- Alert TagHelper
- LanguageNav TagHelper
- Localization Validation Scripts TagHelper
Create a pagination control styled with bootstrap 4.x using simple html tag.
<paging page-no="Model.PageNo"
page-size="Model.PageSize"
total-records="Model.TotalRecords">
</paging>
Create bootstrap alerts using very simple html tag.
<alert-success>
My alert text ...
</alert>
Create a language dropdown navigation for websites. Supported cultures will be used to create the navigation items.
<language-nav flags="true"></language-nav>
Add all client side scripts that are required for validating localized inputs like decimal numbers, dates, ..etc.
<localization-validation-scripts></localization-validation-scripts>