How can you focus the edit-form Popup for Telerik MVC grid? Solutions that not hack Telerik code are preferred.
问问题
977 次
1 回答
3
您可以使用网格的OnEdit事件,从表单中找到一些输入元素并将其聚焦。这是一些示例代码:
<script type="text/javascript">
function Grid_onEdit(e) {
var form = e.form;
$(form).find("input:first").focus();
}
</script>
于 2011-02-01T10:28:52.247 回答