Is there a matching client side event that is fired before or after OnPageIndexChanging
is raised?
Such as the OnClientClick
, I would like to append a script when the paging numbers / arrows are clicked.
Is it possible, of so; how?
Is there a matching client side event that is fired before or after OnPageIndexChanging
is raised?
Such as the OnClientClick
, I would like to append a script when the paging numbers / arrows are clicked.
Is it possible, of so; how?
I presume you are speaking of the DataGrid/GridView component. There is no such built-in even but you can easily hook a JavaScript event handler for the pager links. Here is an example using jQuery:
$('#GridView1 td table a').live('click', function() {
var pagerLink = this;
})