Hi
I've using the WM pop-up dialog control that I want to use to force users to input data. However, by default it has a Cancel button in the top right that allows users to close it without any validation taking place. Is there any way to either a) remove the 'X' or b) trap the click on the 'X'?
Thanks
I've using the WM pop-up dialog control that I want to use to force users to input data. However, by default it has a Cancel button in the top right that allows users to close it without any validation taking place. Is there any way to either a) remove the 'X' or b) trap the click on the 'X'?
Thanks
RE: popup dialog cancel button
This is a dojo digit. The following link provides a possible solution:
http://dojo-toolkit.33424.n3.nabble.com/Is-there-a-way-to-disable-the-close-button-on-dijit-Dialog-for-1-3-2-td74170.html
I tried adding the following in a css file:
.dijitDialogCloseIcon { display: none }
and also including the following as a script fragment within the page onload event:
dijit.byId('popup_dialog_container_group')._onKey = function(){}
It seems to work.
Kind Regards
Abdul
RE: popup dialog cancel button