Hi
i am struggling here to remove the X from the dijit.Dialog widget.
Please help me out :(
I have search the forum but nowhere i am getting it.
Thanks in Advance.
Mohammed Junaid
Hi
i am struggling here to remove the X from the dijit.Dialog widget.
Please help me out :(
I have search the forum but nowhere i am getting it.
Thanks in Advance.
Mohammed Junaid
If you don't want to
If you don't want to subclass dialog, you could do this quick and dirty by making the close icon invisible:
.dijitDialogCloseIcon {
display: none;
}
in the CSS for the page.
Nonetheless, pressing Escape will still have the same functionality as clicking the close button, so you'll still need to handle the hide() event:
dojo.connect(mydialog, "hide", function() {
do_something_special()
});
Thanks,
Hi
it had help me but i got new issue which is not a big but i tried it but no progress.
how to disable the Background screen when the dialog is open.
Because when this dialog is open and i can click the background button which is going to another page.
Thanks,
Mohammed Junaid
shouldn't happen
Dialog grays out the screen behind it (using DialogUnderlay) and that prevents clicking anything.
=========
Bill Keese
Project Lead (aka BDFL) of Dijit