Ajax postback of single dock

2 posts, 0 answers
  1. apb
    apb avatar
    46 posts
    Member since:
    Nov 2008

    Posted 05 Jun 2009 Link to this post

    I have a portal-type application that allows the creation of various "portlets".

    Each portlet consists of a dynamically created RadDock, which contains a dynamically created RadAjaxLoadingPanel and RadAjaxPanel, which contains a dynamically loaded user control (ascx).


    When the user control inside the dock initiates a postback the update panel works as expected, centering over the individual Dock.

    However, when the Dock initiates the postback, say by clicking a DockCommand button, the RadAjaxLoadingPanel doesn't display.

    So, my question is:

    Is there a client-side way for the Dock to tell the control inside it to initiate an action? 

    This would actually be useful for other situations as well.

  2. Obi-Wan Kenobi
    Obi-Wan Kenobi  avatar
    460 posts
    Member since:
    Aug 2007

    Posted 09 Jun 2009 Link to this post

    You could try to use RadAjaxManager instead RadAjaxPanel, create a  custom command and in its client-side handler to initiate ajax via JavaScript.
Back to Top