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

Disable ajax for a button

3 Answers 329 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
Mano srinivasan
Top achievements
Rank 1
Mano srinivasan asked on 17 Nov 2009, 04:07 PM
Hi,

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

thanks,
mano

3 Answers, 1 is accepted

Sort by
0
Pavlina
Telerik team
answered on 17 Nov 2009, 04:23 PM
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.
0
Gevorg
Top achievements
Rank 1
answered on 21 Aug 2013, 06:26 AM
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?


0
Pavlina
Telerik team
answered on 26 Aug 2013, 05:30 PM
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.
Tags
Ajax
Asked by
Mano srinivasan
Top achievements
Rank 1
Answers by
Pavlina
Telerik team
Gevorg
Top achievements
Rank 1
Share this question
or