【问题标题】:How to Bind the Value to a column on dropdown selection change in grid view+Telerik+Mvc3如何将值绑定到网格视图中下拉选择更改的列+Telerik+Mvc3
【发布时间】:2012-05-05 10:34:58
【问题描述】:

我在我的项目中使用 Telerik Controls,我想将值绑定到在 Telerik Grid 视图的 BatchEditing 中更改的下拉选择中的列。

示例:我有product_cd,product_description,其中product_cd是下拉列表,并且在选择改变时,我必须在下一个列中填充product_description。

在这种情况下帮助我。提前致谢。

【问题讨论】:

    标签: jquery asp.net-mvc razor telerik-mvc


    【解决方案1】:

    为此,您需要结合使用saveCell and editCell 方法。 在您要实现的逻辑中,始终将只有单个单元格的网格保持在编辑模式。 此外,您可能还需要处理 DropDownList OnChange 事件。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2019-02-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多