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

RadWindow in iFrame

1 Answer 203 Views
Window
This is a migrated thread and some comments may be shown as answers.
Marcos
Top achievements
Rank 1
Marcos asked on 23 Apr 2009, 07:02 AM
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);
                        }
}

1 Answer, 1 is accepted

Sort by
0
Svetlina Anati
Telerik team
answered on 24 Apr 2009, 08:41 AM
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.
Tags
Window
Asked by
Marcos
Top achievements
Rank 1
Answers by
Svetlina Anati
Telerik team
Share this question
or