Skip to content

LazZiya/TagHelpers

Repository files navigation

LazZiya.TagHelpers

What is it?

A collection of useful TagHelpers for any ASP.NET Core project.

Documentation :

See all documentation in DOCS.Ziyad.info.

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>

PagingTagHelper default

Create bootstrap alerts using very simple html tag.

Front end alert

<alert-success>
    My alert text ...
</alert>

Backend alert

TempData.Success("My alert text ...")

Catch all backend alerts in frontend:

<alert></alert>

AlertTagHelper - success

Create a language dropdown navigation for websites. Supported cultures will be used to create the navigation items.

<language-nav flags="true"></language-nav>

LanguageNavTagHelper with flags

Add all client side scripts that are required for validating localized inputs like decimal numbers, dates, ..etc.

<localization-validation-scripts></localization-validation-scripts>

Localization number es

Live demos:

http://demo.ziyad.info/en/