There's no @Html.Button !

后端 未结 5 1882
粉色の甜心
粉色の甜心 2020-12-04 14:55

this is weird. I see references out there for @Html.Button() but when I type that Intellisense doesn\'t find such a helper... there\'s dropdownlist, hidden, editors, et cet

5条回答
  •  忘掉有多难
    2020-12-04 15:46

    Razor does not appear to have a "Button" HTML helper. You're likely finding references to a custom-built HTML helper extension.

    See here: http://www.asp.net/mvc/tutorials/creating-custom-html-helpers-cs

提交回复
热议问题