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

RadDock modal from a user control

2 Answers 58 Views
Dock
This is a migrated thread and some comments may be shown as answers.
john
Top achievements
Rank 1
john asked on 24 Dec 2010, 12:51 PM
Hi,

I have a user control that is loaded dynamically from another page using a placeholder. I want to show a modal RadDock (defined in the .ascx page) when the user clicks a button that is contained in the user control. I have tried with the modal extender and the RadDock is showed, but all the page and the user control gets disabled including the RadDock itself (this not happens if I show a modal RadDock from a single .aspx page without user controls).

Is it possible to use modal RadDock from a user control, without the RadDock getting disabled after showing?

Regards,
John.

2 Answers, 1 is accepted

Sort by
0
Accepted
Pero
Telerik team
answered on 24 Dec 2010, 03:27 PM
Hi John,

You could use the approach provided in the following article from our Code Library to make a dock modal: http://www.telerik.com/community/code-library/aspnet-ajax/docking/modal-raddock.aspx.

For your convenience I have put the RadDock control in a UserControl, and everything seems to be working fine. Please find the project attached to the thread.

Best wishes,
Pero
the Telerik team
Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
0
john
Top achievements
Rank 1
answered on 27 Dec 2010, 07:40 AM
Thanks for your response. Now it works fine, the problem was in the z-index property of the RadDock window: I didn't set a specific value so it was disabled as all the other components. Setting Style="z-index: 5" the RadDock gets the top level window and is enabled.

Greetings.
Tags
Dock
Asked by
john
Top achievements
Rank 1
Answers by
Pero
Telerik team
john
Top achievements
Rank 1
Share this question
or