This is a migrated thread and some comments may be shown as answers.

Client events for rad grid paging items

1 Answer 198 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Reyaz
Top achievements
Rank 1
Reyaz asked on 29 Nov 2011, 09:19 AM
Hi,

I have used OnClientItemClicking="ChangeDetection_OnRecSelItemClicking" for handling filter item click event and working fine.

Now i want to handle client events for paging next, previous, page size change and Go button.

I am using :
<PagerStyle Mode="NextPrevNumericAndAdvanced" PageButtonCount="5" AlwaysVisible="true" />

Please suggest how i will execute the javascript methods for those.

warm regards,
Reyaz

1 Answer, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 29 Nov 2011, 10:23 AM
Hello Reyaz,

You can attach the client event OnCommand as shown below.
JS:
function OnCommand(sender, args)
{
 alert(args.get_commandName());
}

Thanks,
Princy.
Tags
General Discussions
Asked by
Reyaz
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Share this question
or