Close tag when closing brackets using Html Helper in ASP.net MVC

How to create a helper, for example, an Html.Form helper that closes a tag when closing shapes?

+4
source share
1 answer

He needs to implement IDisposable and display the final shape in the Dispose method. Then you can have the same using behavior as with the HtmlForm helper.

+4
source

Source: https://habr.com/ru/post/1305630/


All Articles