For an asp.net mvc4 website, Is there a way to use Kendo UI for a simple button? This is not a mobile app. But Kendo UI does not appear to have regular button object like Html.Kendo().Button...
It's not there.
This is what I have now
<input type="submit" value="Run Calculation" />
I want to use Kendo UI button instead.
@(Html.Kendo().MobileButton()
.Name("textButton")
.HtmlAttributes( new {type = "button"} )
)
But its not rendering at all.
If you can not access Html.Kendo().Button()
it means your kendo ui mvc version is not 2013 Q3
or later.
the new code should be like this:
@(Html.Kendo().Button()
.Name("textButton")
.HtmlAttributes( new {type = "button"} )
.Content("Text button"))
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.