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: 01-Mar-2021
- Image: https://github.com/LazZiya/Docs/raw/master/LazZiya.TagHelpers/v6.0/images/lazziya-tagheleprs-logo.png
- Image-alt: LazZiya.TagHelpers Logo
- Version: v6.0
LazZiya.TagHelpers
What is it?
A collection of useful TagHelpers for any ASP.NET Core project.
Installation :
Install via nuget package manager:
Install-Package LazZiya.TagHelpers -Pre
v6.0 is in preview mode, so add -Pre to install latest preview.
Then add to _ViewImports.cshtml:
@addTagHelper *, LazZiya.TagHelpers
Contents
- Paging TagHelper
- Alert TagHelper
- LanguageNav TagHelper
- Localization Validation Scripts TagHelper
Paging 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>
Alert TagHelper
Create bootstrap alerts using very simple html tag.
<alert-success>
My alert text ...
</alert>
Language Navigation TagHelper
Create a language dropdown navigation for websites. Supported cultures will be used to create the navigation items.
<language-nav flags="true"></language-nav>
Localization Validation Scripts TagHelper
Add all client side scripts that are required for validating localized inputs like decimal numbers, dates, ..etc.
<localization-validation-scripts></localization-validation-scripts>