¿如何处理ASPxGridView Devexpress服务器端的OnRowClick事件? [英] ¿How to handle OnRowClick event of ASPxGridView Devexpress server-side?

查看:96
本文介绍了¿如何处理ASPxGridView Devexpress服务器端的OnRowClick事件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这是我的gridview代码.因此,事件OnFocusedRowChanged和OnSelectionChanged不起作用,我不知道该怎么办,我需要您的帮助

This is my gridview code. So the events OnFocusedRowChanged and OnSelectionChanged doesn't work and i don't know how can i do this work, i need your help people

在此处输入图片描述

推荐答案

请参阅以下内容:
ASPxGridView-服务器端未触发SelectionChanged
ASPxGridView-如何在服务器端处理SelectionChanged事件

默认情况下,ASPxGridView仅在客户端.如果您希望服务器端 ASPxGridView.SelectionChanged 被触发,将 ASPxGridView.SettingsBehavior.ProcessSelectionChangedOnServer 属性为true或处理客户端 ASPxClientGridView.SelectionChanged 事件并设置在此事件处理程序中,将 processOnServer 属性设置为True.

By default, the ASPxGridView processes change of selection only on the client-side. If you wish the server-side ASPxGridView.SelectionChanged to be fired, set the ASPxGridView.SettingsBehavior.ProcessSelectionChangedOnServer property to true or handle the client-side ASPxClientGridView.SelectionChanged event and set the processOnServer property to True in this event handler.

这篇关于¿如何处理ASPxGridView Devexpress服务器端的OnRowClick事件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆