【问题标题】:Kendo Button single click剑道按钮单击
【发布时间】:2015-02-06 01:19:43
【问题描述】:

Kendo Button 小部件中是否有单击按钮功能,如下面的示例链接所示(我知道它的 WebControl for webforms 应用程序)。我正在 Kendo MVC Wrapper/Core 中寻找类似的功能。有人可以分享 Kendo MVC Wrapper 或 Kendo Core 中的配置设置吗?

Telerik RadButton 中的单击示例 http://demos.telerik.com/aspnet-ajax/button/examples/singleclick/defaultcs.aspx

【问题讨论】:

    标签: kendo-ui kendo-asp.net-mvc


    【解决方案1】:

    您可以使用 jQuery 轻松实现该功能,如下所示:

    $("#myButton").one("click", function() {
      'Code to run when the button is clicked.
    });
    

    您可以阅读更多关于它的信息here

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2014-06-20
      • 1970-01-01
      • 1970-01-01
      • 2014-10-10
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多