[英]Simple Kendo UI button
對於asp.net mvc4網站,是否可以將Kendo UI用於簡單按鈕? 這不是移動應用。 但是Kendo UI似乎沒有像Html.Kendo().Button...
這樣的常規按鈕對象。
這就是我現在所擁有的
<input type="submit" value="Run Calculation" />
我想改用Kendo UI按鈕。
@(Html.Kendo().MobileButton()
.Name("textButton")
.HtmlAttributes( new {type = "button"} )
)
但是它根本沒有渲染。
如果您無法訪問Html.Kendo().Button()
則表明您的Html.Kendo().Button()
ui mvc版本不是2013 Q3
或更高版本。
新代碼應如下所示:
@(Html.Kendo().Button()
.Name("textButton")
.HtmlAttributes( new {type = "button"} )
.Content("Text button"))
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.