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

Ajax postback of single dock

1 Answer 61 Views
Dock
This is a migrated thread and some comments may be shown as answers.
apb
Top achievements
Rank 1
apb asked on 05 Jun 2009, 03:08 PM

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).

Dock
|--RadAjaxLoadingPanel
|--RadAjaxPanel
   |--UserControl

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.

1 Answer, 1 is accepted

Sort by
0
Obi-Wan Kenobi
Top achievements
Rank 1
answered on 09 Jun 2009, 02:39 PM
You could try to use RadAjaxManager instead RadAjaxPanel, create a  custom command and in its client-side handler to initiate ajax via JavaScript.
Tags
Dock
Asked by
apb
Top achievements
Rank 1
Answers by
Obi-Wan Kenobi
Top achievements
Rank 1
Share this question
or