Disabling Ajax for one RadToolBarButton

3 posts, 0 answers
  1. Neil
    Neil avatar
    34 posts
    Member since:
    Sep 2012

    Posted 19 Mar 2009 Link to this post

    I've got a RadToolBar inside a RadToolTip (a user control loaded dynamically) which is displayed from a RadGrid (talk about vertical integration!). I want one of the buttons in the toolbar to initiate a file download. Because you can't do a Response.TransmitFile inside an UpdatePanel I need to disable Ajax for this operation but only this one button.

    So far the only thing that works (although it obviously won't work for anything else) is to register the entire toolbar as a postback control with the ScriptManager. I'm guessing that the solution is a client event in RadAjaxManager but I've only been using these tools for a couple of weeks so I'm not certain what to do and where. I appreciate any help! :)
  2. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 20 Mar 2009 Link to this post

    Hi Neil,

    I found one KB article " How to disable AJAX for specific Items of an AJAX-ified Navigational control"
    explaining how to disable Ajax for specific toolbarbutton .

    -shinu

  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Neil
    Neil avatar
    34 posts
    Member since:
    Sep 2012

    Posted 20 Mar 2009 Link to this post

    Thank you! I looked around the forums and thought I searched the KB thoroughly but I guess I missed that one. I did get it to work except I found that eventArgs.EventTarget in the onRequestStart has to be the full ClientID and not just the ID. But since that is unlikely to change in my situation I'm good. I appreciate the help.

    Neil
Back to Top