Top "Asp.net-core-tag-helpers" questions

ASP.

Display a readonly field in ASP.NET Core

I am new in ASP.NET Core and would like to ask about displaying a field in w a view. …

c# asp.net-core asp.net-core-tag-helpers
asp.net core and asp-route-id

I've created a contact controller with that signature : public IActionResult Index(string id) Nothing fancy in the route table : app.…

c# asp.net-core asp.net-core-mvc asp.net-core-tag-helpers asp.net-core-routing
.NET Core <select> With Default Value?

My goal is to generate a <select> dropdown with a certain select value (<option>) pre-selected, so …

c# asp.net-core razorengine asp.net-core-tag-helpers
Select ENUM Tag Helper in ASP.NET Core MVC

I need some help with an ENUM dropdown using Tag Helper. I found lots exemples binding a model to Selectlist …

asp.net-mvc asp.net-core enums asp.net-core-tag-helpers
Custom tag helper not working

I followed a few guides on creating a custom tag helper for ASP Core. This is my helper: using Microsoft.…

c# asp.net-core model asp.net-core-tag-helpers
Anchor tag helper to open view in new window-tab

Using an anchor tag helper, how can we open an ASP.NET Core MVC View in a new browser window-tab. …

c# asp.net-core asp.net-core-tag-helpers
Input Tag Helper Not Working with Razor Code

I want to combine an input tag helper with razor code to set an attribute but I cannot get the …

c# razor asp.net-core asp.net-core-tag-helpers
.netcore asp-for decimal loses decimal places

I am running into an issue where I am losing decimal places when using the asp-for tag helper in my …

asp.net-core asp.net-core-tag-helpers
Display/Edit a Currency in ASP.NET MVC Core, why so complicated?

In an ASP.NET Core 2.0 application, I have a Foo class with a lot of classical string or numeric members …

c# asp.net-core asp.net-core-tag-helpers