Hi,
I have a case where I dynamically create Docks in UserControl and then load the control into a page, which is a content page of a Master page. Attached is a screen-shot of the page (excluding the master parts). The selected RadPageView has a RadAjaxPanel that wraps all its content. After each + sign, I load a UserControl that contains one RadDockLayout, one RadDockZone, and dynamic number of RadDocks. The docks are drag-and-drop enabled within their zone, using a grip as dock handle. The page works great when first loaded.
The problem comes when I update the content using RadAjaxPanel.ajaxRequest. On server-side I call the same function that generates the UserControls. Everything looks fine and the content is updated, except that the grip and drag-and-drop do not function at all (mouse over the grip does not even change the cursor to dragging mode). I tried RaisePostBackEvent and radAjaxPanel_AjaxRequest (separetaly) methods on server-side and both produce the same issue. I guess a specific script and css is missing.
Any help would be appreciated.
thanks.
eyal
Note: The js methods ajaxRequest and ajaxRequestWithTarget are erroneously typed in the documentation for RadAjaxPanel with a capital A.
I have a case where I dynamically create Docks in UserControl and then load the control into a page, which is a content page of a Master page. Attached is a screen-shot of the page (excluding the master parts). The selected RadPageView has a RadAjaxPanel that wraps all its content. After each + sign, I load a UserControl that contains one RadDockLayout, one RadDockZone, and dynamic number of RadDocks. The docks are drag-and-drop enabled within their zone, using a grip as dock handle. The page works great when first loaded.
The problem comes when I update the content using RadAjaxPanel.ajaxRequest. On server-side I call the same function that generates the UserControls. Everything looks fine and the content is updated, except that the grip and drag-and-drop do not function at all (mouse over the grip does not even change the cursor to dragging mode). I tried RaisePostBackEvent and radAjaxPanel_AjaxRequest (separetaly) methods on server-side and both produce the same issue. I guess a specific script and css is missing.
Any help would be appreciated.
thanks.
eyal
Note: The js methods ajaxRequest and ajaxRequestWithTarget are erroneously typed in the documentation for RadAjaxPanel with a capital A.