disable update button after pressing

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

    Posted 11 May Link to this post

    Hi,

    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
    Admin
    Marin avatar
    1043 posts

    Posted 12 May Link to this post

    Hello,

    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.

    Regards,
    Marin
    Telerik
    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
  3. UI for ASP.NET MVC is VS 2017 Ready
Back to Top