Prevent single button from ajax update

2 posts, 1 answers
  1. Albert Shenker
    Albert Shenker avatar
    573 posts
    Member since:
    Mar 2004

    Posted 30 Mar 2010 Link to this post

    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.
  2. Answer
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 31 Mar 2010 Link to this post

    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


Back to Top