Disable ajax for a button

4 posts, 0 answers
  1. Mano srinivasan
    Mano srinivasan avatar
    11 posts
    Member since:
    Oct 2009

    Posted 17 Nov 2009 Link to this post

    Hi,

    how to disable ajax for a particular button in a page through javascript?

    thanks,
    mano

  2. Pavlina
    Admin
    Pavlina avatar
    6084 posts

    Posted 17 Nov 2009 Link to this post

    Hi Mano,

    Please examine the following help article, which elaborates on this subject and see if it helps.
    Exclude controls from ajaxifying

    Greetings,
    Pavlina
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Gevorg
    Gevorg avatar
    1 posts
    Member since:
    Aug 2013

    Posted 21 Aug 2013 Link to this post

    Hello, 

    I had the same problem. I wanted to send stream of pdf files to response right after the button clicked, which is possible if the button is not ajaxified. So I went to the recommended page and tried this version 

    Cancel the AJAX request on InitializeRequest event

    But I have another issue now. The skin of the RadAjaxLoadingPanel doesn't disappear. I can manually remove them afterall, but is there another solution?


  5. Pavlina
    Admin
    Pavlina avatar
    6084 posts

    Posted 26 Aug 2013 Link to this post

    Hello Gevorg,

    Did you try to disable AJAX via the OnRequestStart event? Can you try using this approach and let me know if the problem with RadAjaxLoadingPanel skin still persists? Additionally, please specify how you set the skin of LoadingPanel and verify that you are not displaying it manually.

    Additionally, providing the problematic code would also help to understand the logic of your application and advice you further.

    Regards,
    Pavlina
    Telerik
    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 the blog feed now.
Back to Top