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
150
IgDialog box controls showing in parent page
posted

Hi

I am having few issues on igDialog box controls.

1) before loading igDailog box - all the igDailog button controls are showing in my parent page.

2)  Positioning - I am try to load dialog box center of the screen and try to set it in below code but it is not working

var dialogposition = { my: 'center', at: 'center' }

$(

"#dialog").igDialog({

height: 450,

modal:

true,

showHeader:

true,

showFooter:

true,

width: 700,

position: dialogposition

//position: { left: -340, top: 300 }

});

 

Please advise me if anybody have any solutions.

Parents
  • 20255
    Offline posted

    Hello,

    Thank you for contacting us!

    About your concerns, you can show/hide all buttons with the appropriate options of the dialog. Have a look at the sample below where I set showMinimizeButton to false and showMacimizeButton to true. For more information about all available options have a look at this link (http://help.infragistics.com/jQuery/2014.2/ui.igdialog#options).

    Online sample:

    http://jsfiddle.net/xbnprdnc/1/

    About the position, by default the dialog is shown at the center of the screen, so in the sample I am showing how to change this.

    Let me know if I may be of further assistance.

Reply Children