Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
530
Open dialog inside another dialog
posted

Has anyone tried this?

initially i was declaring the dialog using mvc helpers but according to the documentation i can do that, so i have change it to using jquery,,,and i am trying to use the option move to top, but it is not workin...

Declaring the dialogs

function InitializeDialogs()
{
$("#DialogBox_AddOrEdit_Hardware_To_Processo").igDialog({ height: "500px", width: "800px", state: "closed", headertext: "Processo", modal: true, draggable: false, resizable: false, closeonescape: true, showCloseButton: false });
$("#DialogBox_AddOrEdit_Processo").igDialog({ height: "500px", width: "800px", state: "closed", headertext: "Processo", modal: true, draggable: false, resizable: false, closeonescape: true, showCloseButton: false });
$("#DialogBox_Delete_Processo").igDialog({ width: "400px", state: "closed", headertext: "Eliminar Registos", modal: true, draggable: false, resizable: false, closeonescape: true, showCloseButton: false });
}

so the dialog DialogBox_AddOrEdit_Processo is open, and then i want to press a button and open the dialog DialogBox_AddOrEdit_Hardware_To_Processo...

on the button click i am doing this

$("#DialogBox_AddOrEdit_Hardware_To_Processo").igDialog("open");
$("#DialogBox_AddOrEdit_Hardware_To_Processo").igDialog("moveToTop");

but the dialog still opens inside the other one...and not above...

What am i missing?

Thanks for the help

Parents
  • 7570
    Suggested Answer
    posted

    Hello Hugo,

    Thank you for contacting Infragistics!

    At the moment, using the information mentioned above, I am not able to reproduce the behavior. Please let me know the browser you are using as well as the html destination markup of the dialogs.  

    For reference you may also refer to the sample below:

    http://jsfiddle.net/5JFhX/9/

     

    If you have any questions, please let me know as well.

     

Reply Children