GridView pager page buttons accessibility

橙三吉。 提交于 2019-12-08 08:01:43

问题


Can the page numbers (clickable) at the bottom of a gridview pager be accessed programmatically as buttons?

asp.net 3.0 c#


回答1:


Done. I needed to add a onclientclick event to page buttons and have achieved this by doing something like:

myGridView.Attributes.Add("onClick", "setOKToClose();");

inside page_load



来源:https://stackoverflow.com/questions/2367771/gridview-pager-page-buttons-accessibility

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!