View Full Version : Example of opening a BasicDialog from toolbar button.

26 Dec 2006, 8:39 AM
What is a sample code for opening a BasicDialog from a toolbar button. I've had some success, however when the dialog box is openend and modal:true the the entire page is greyed out and I cannot click on the buttons in the dialog box.

However when modal:false it "works fine", but I need the dialog to be a modal one.

Any takers?

26 Dec 2006, 11:11 AM
There are numerous examples thruout the forum and the doc for opening basic dialogs correctly, including the most recent ImageChooser example. If the entire page is being greyed, I would guess that you're rendering the dialog to the body element rather than a div inside the body.