-1
我是kendo控件的初學者。在kendo控件中有什麼用Content
方法和Name
方法?kendo控件的內容方法
<%=Html.Kendo().Button()
.Name("textButton")
.HtmlAttributes(new {type = "button"})
.Content("Text button") %><br /><br />
我是kendo控件的初學者。在kendo控件中有什麼用Content
方法和Name
方法?kendo控件的內容方法
<%=Html.Kendo().Button()
.Name("textButton")
.HtmlAttributes(new {type = "button"})
.Content("Text button") %><br /><br />
Name實際上是我們在html中使用的id屬性,content是該控件的文本。
據我所知,這都是關於使用kendo css文件的輸入類。 http://docs.telerik.com/kendo-ui/getting-started/using-kendo-with/aspnet-mvc/helpers/button/overview也許這個鏈接可以幫助你。 – MustafaP