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

Prevent single button from ajax update

1 Answer 61 Views
ToolBar
This is a migrated thread and some comments may be shown as answers.
Albert Shenker
Top achievements
Rank 1
Veteran
Iron
Albert Shenker asked on 30 Mar 2010, 09:38 PM
I have a toolbar with several buttons. The toolbar is ajaxified so the buttons raise ajax updates. I want one of the buttons to do a postback instead (it is used to export some grid content, and cannot do so through an ajax update). I am able to handle the ajax manager requeststart event, but I am not sure how to get a reference to the particular button in order to set enableajax = false for it. I am able to get a reference to the toolbar as a whole through the eventArgs.get_eventTarget() method, but I don't want to disable ajax for the whole toolbar.. only one particular button.

1 Answer, 1 is accepted

Sort by
0
Accepted
Shinu
Top achievements
Rank 2
answered on 31 Mar 2010, 07:14 AM

Hello Albert,

I hope the following KB Article is helpful in excluding specific item from ajaxifying.

How to disable AJAX for specific Items of an AJAX-ified Navigational control

-Shinu.

Tags
ToolBar
Asked by
Albert Shenker
Top achievements
Rank 1
Veteran
Iron
Answers by
Shinu
Top achievements
Rank 2
Share this question
or