disable update button after pressing

2 posts, 0 answers
  1. Maurice
    Maurice avatar
    22 posts
    Member since:
    Jan 2016

    Posted 11 May 2016 Link to this post


    One of my grid .update  and .create action take a long time because he really has to do a lot of work in the background.

    How can I force people to not pressing the update button more then ones?

    Is it possible to disable the update button directly after the first time people click on it?

    Thanks in advance

    Maurice Lucas

  2. Marin
    Marin avatar
    1057 posts

    Posted 12 May 2016 Link to this post


    You can use the RequestStart and RequestEnd events that are fired when the datasource of the grid initiates a request and after the request has completed. On RequestStart you can disable the button using baisc jQuery and then on RequestEnd you can enable it again.

    I hope this helps.

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Back to Top