【问题标题】:obout gridview row commandobout gridview 行命令
【发布时间】:2014-09-22 11:56:46
【问题描述】:

嘿,我正在尝试使用 obout 工具包中的特定网格视图,我想知道是否有人也使用它并且知道如何访问“编辑”命令?例如,在常规的 asp.net gridview 中,我所要做的就是使用功能:

Protected Sub approvalGrid_RowCommand(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.GridViewCommandEventArgs) Handles approvalGrid.RowCommand

然后类似

If (e.CommandName = "Edit") Then
    .
    .
    .

但是 obout gridview 没有这样的东西,我花了半天时间试图找出如何 当用户单击gridview 上的Edit 按钮时,我会访问此事件。

【问题讨论】:

    标签: asp.net gridview edit obout


    【解决方案1】:

    通过将事件处理程序附加到OnClientSelect 事件,您可以使用网格的记录选择功能将所选记录置于编辑模式。这种方法使最终用户可以更轻松地编辑记录,而无需找到并单击“编辑”链接。

    http://www.obout.com/grid/aspnet_commands_onclick.aspx

    【讨论】:

    猜你喜欢
    • 2014-11-24
    • 1970-01-01
    • 1970-01-01
    • 2016-11-06
    • 2011-02-25
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多