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

Question related to Peter Blum's VAM:Button

1 Answer 84 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
Dennis
Top achievements
Rank 1
Dennis asked on 21 Apr 2008, 06:15 AM
Hi

I need help :) I'm using Telerik Prometious Q3 and Peter Blum's Validation and more controls with great succes, but have run into one problem, that I cannot solve myself.

I have multiple buttons on a specific page, most of these buttons are ajaxenabled through the very useful Telerik controls (the RadAjaxManager). But I need to keep three buttons continuing to use the default postback behaviour. This is of course not a problem in itself, but when you click on the buttons the code behind takes approx. of 15 seconds to execute. Therefore I use Peter Blums' VAM:Button feature DisableOnSubmit, but this feature is also executed when I click on the ajax enabled buttons.

So my question is, how do I keep the ajaxenabled buttons working without interefering with the Peter Blum Control. The only solution I can think of is to somehow ajaxify the three VAM:buttons, so that when I click the other buttons it allows them to enabled the VAM:buttons again, but then I can't get the postback behaviour of the three buttons.

Any help will be greatly appreciated

Dennis Cassøe

1 Answer, 1 is accepted

Sort by
0
plamen
Top achievements
Rank 1
answered on 24 Apr 2008, 08:11 AM
hi:)


You can use OnRequestStart event handler to perform a single postback instead of AJAX request. Review the help topic linked below for further info:
http://www.telerik.com/help/radcontrols/aspnet%2Dajax/ajxForcingPostback.html



Thank you...
<John:Peel />
Tags
Ajax
Asked by
Dennis
Top achievements
Rank 1
Answers by
plamen
Top achievements
Rank 1
Share this question
or