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
No Data
Reply Children
No Data