RadWindow in iFrame

2 posts, 0 answers
  1. Jose Santas
    Jose Santas avatar
    4 posts
    Member since:
    Feb 2009

    Posted 23 Apr 2009 Link to this post

    Hi

    I´m using a telerik:RadWindow to launch a modal window to confirm a delete order. The problem is that this window is launched inside a frame and only the frame is blocked whith the modal state.

    I want to know if telerik:RadWindow or another telerik component, has a property to block the main page where  the iframe who launches the modal RadWindow is contained.

    Another problem is with the radconfirm command. I want launch a modal confirm window when i change the selected item in radcombobox. If the user accepts i want launch a javascript code but if the user cancels o closes this confirm window, i want cancel the  success event.

    I want use a radconfirm window for do this:

    function ChangeTab(sender, event)
    {
    var bool= confirm("Sure?");
                            if(bool){
                              //Ok code
                            }
                            else{
                                event.set_cancel(true);
                            }
    }

  2. Svetlina Anati
    Admin
    Svetlina Anati avatar
    2795 posts
    Member since:
    Sep 2012

    Posted 24 Apr 2009 Link to this post

    Hi Jose,

    I already answered your support thread and for your convenience and for others who might have the same questions I pasted my reply below:

    Straight to your questions:

    1. In order to get the modal background of the RadWindow to cover the whole page, you should open the RadWindow from the main page and there is no other solution to this. That is why I suggest to move the RadWindow there and reference the main page from the frame and open the RadWindow from there.
    2. As to  your second question, I am afraid I could not completely understand what is the problem you experience - is it about implementing radconfirm instead of confirm or the problem is in canceling an event (if so, what is the exact event)? Please, provide more details about the exact scenario.



    All the best,
    Svetlina
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.

  3. DevCraft Release
Back to Top