RadDock modal from a user control

3 posts, 1 answers
  1. john
    john avatar
    32 posts
    Member since:
    Nov 2010

    Posted 24 Dec 2010 Link to this post

    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. Answer
    Pero
    Admin
    Pero avatar
    1156 posts

    Posted 24 Dec 2010 Link to this post

    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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. john
    john avatar
    32 posts
    Member since:
    Nov 2010

    Posted 27 Dec 2010 Link to this post

    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.
Back to Top