GridView pager page buttons accessibility

2019-06-03 02:22发布

问题:

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