开发者

Close tag on closing brace using Html Helper in ASP.net MVC

开发者 https://www.devze.com 2022-12-25 08:29 出处:网络
How can I create a helper like the Html.Form helper, which closes the tag when you close the开发者_JS百科 braces?It needs to implement IDisposable and render the closing brace in the Dispose method.Yo

How can I create a helper like the Html.Form helper, which closes the tag when you close the开发者_JS百科 braces?


It needs to implement IDisposable and render the closing brace in the Dispose method. You can then have the same using behavior as with the HtmlForm helper.

0

精彩评论

暂无评论...
验证码 换一张
取 消