Is it possible to cancel an OnCommand event

2 posts, 0 answers
  1. Tim
    Tim avatar
    57 posts
    Member since:
    Apr 2011

    Posted 13 Sep 2012 Link to this post


    I have a requirement to prevent moving to the next page in my Custom paging code if the current data isn't 'valid'.

    Is this even possible.
  2. Eyup
    Eyup avatar
    3322 posts

    Posted 18 Sep 2012 Link to this post

    Hello Tim,

    I am afraid the requested behaviour is not supported out-of-box. You could try to hook a client side click event to your Pager buttons and cancel the event if the command does not meet the required condition.

    Thank you for your understanding and sorry for any inconvenience cause.

    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Back to Top