Two Modal RadWindows overlap each other (no javascript)

4 posts, 0 answers
  1. Mercede
    Mercede avatar
    9 posts
    Member since:
    Dec 2008

    Posted 07 Oct 2013 Link to this post

    Consider the following design: 

      Page "X"  has many user controls
    user control UA has a modal rad window displayed when Show() is called
    user control UB has a modal rad window displayed when Show() is called

    user control UX & UY can request X to display the modal rad window of UA. 

    Steps: (4 screen shots are attached)
    1. Page X is displayed.
    2. User is editing the data on UX. UX requests X to display the UI of UA modal rad window.  (Step 1: Add button
    3. UA is displayed i.e. the modal rad Window with controls is displayed. (Step 2: UA is displayed correctly)
    4. While user is editing the data in UA, UB is invoked by the actions. But the UB which should have been on top of UA is not displayed correctly. even though the functionality is fine. (Step 3: UB is displayed but incorrectly)
    5. When the title bar of UB is clicked the UI of UB is displayed correctly. (Step 4: after clicking the title bar of UB, prob solved)

    Question: 
     How to make the modal rad window of UB displayed correctly?
  2. Marin Bratanov
    Admin
    Marin Bratanov avatar
    3602 posts

    Posted 08 Oct 2013 Link to this post

    Hello,

     If you are showing them simultaneously you need to set an active one with a small timeout (see the setActive(true) method from the client-side API of the cotnrol). This can happen if you are using the VIsibleOnPageLoad property. I advise that you use a script as shown in this sticky thread: http://www.telerik.com/community/forums/aspnet-ajax/window/opening-radwindow-from-the-server.aspx.
    If you still experience this behavior, add a small timeout when showing the second one, even 0ms should suffice.

    Regards,
    Marin Bratanov
    Telerik
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Mercede
    Mercede avatar
    9 posts
    Member since:
    Dec 2008

    Posted 09 Oct 2013 Link to this post

    Doesn't work at all. same behaviour
  5. Marin Bratanov
    Admin
    Marin Bratanov avatar
    3602 posts

    Posted 10 Oct 2013 Link to this post

    Hello Mercede,

    If you share the code that is proving problematic we would be able to actually examine the problem and try to help you.
    This blog post can help you when isolating the problem to a minimal amount of code that you can post here.

    Regards,
    Marin Bratanov
    Telerik
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
Back to Top