2014-02-13 51 views
-1

我是kendo控件的初學者。在kendo控件中有什麼用Content方法和Name方法?kendo控件的內容方法

<%=Html.Kendo().Button() 
    .Name("textButton") 
    .HtmlAttributes(new {type = "button"}) 
    .Content("Text button") %><br /><br /> 
+0

據我所知,這都是關於使用kendo css文件的輸入類。 http://docs.telerik.com/kendo-ui/getting-started/using-kendo-with/aspnet-mvc/helpers/button/overview也許這個鏈接可以幫助你。 – MustafaP

回答

1

Name實際上是我們在html中使用的id屬性,content是該控件的文本。