Login Register

Dialog

Why does my Dialog expand to the size of the screen in IE when I have a contentpane with a form in it as the content?

The dialogs I use have different content inserts that are like content wrappers depending if I need a footer with buttons etc. But in IE the dialog expands to the width of the page and I need it to size to the content. Seems all the examples do this but not mine and I can't see the difference I haven't extended or changed the dialog CSS. Any help would be great I've been banging my head on my keyboard for the last two days over this.

Execute Javascript inside Dialog

I am loading Dialog using setHref .In the loaded page, I have javascript. How to execute that Javascript?

Dialog fades out immediately upon load

In creating a dijit dialog, the dialog displays briefly and then fades out.

The markup is as follows:

            <div>
                <div dojoType="dijit.Dialog" id='formTarget' 
                      href='pageXML/traveler/xml/changeLockedJob.htm'
                      style='display:none'/>
            </div>

Memory Usage of dijit.Dialog

The effect of the dijit.Dialog is great!!!

But I find every time I new a Dialog, the memory usage will increase nearly 10M!!

Is that normal? Or there is any way I can reduce the memory usage of Dialog?

Thx a lot!!

Stopping users closing dialogs

Hello,

How do I stop a dialog being closed by the user (via the cross)?

john

How to show Dialog widget without push the button?

I have the problem with widget Dialog. I have tried to create dialog widget and after that to show Dialog. I want to open dialog without push button, but it didn't work. How to do this?

ValidationTextBox tooltip does not hide when dialog (x)cancel button clicked to destory the dialog, or when dragging the dialog

I'm currently displaying a form inside a dialog, and am using dijit.form.ValidationTextBox that displays a tooltip when the input is not valid.

I've also changed the dialog cancel (x) button to destroy the dialog instead of hiding it (.destroyRecursive()), so that I can open it again (programmatically) and not get a 'Tried to register widget with id==Dialog2 but that id is already registered' error.

How to open 2 model dialog - only the top one is active?

I'm doing a VB->Ajax project.
The old VB program always show 2 or 3 model dialog at the same time, but only the top dialog is active.
The "dijit.Dialog" can not support this??

Here is my source code.
It shows a "First" dialog. At the "onclick" event handle of "First" dialog's button, it shows the "Second" dialog.
Both 2 dialogs were showed, active and can be moved. Both 2 text box can be inputed.

keypress problems in a TextBox on a dialog, launched from a dialog

I'm trying to launch a dialog from a dialog. On the second dialog with a textbox, I'm having problems with keypresses. Under IE7, I can't type in that textbox at all, while in FF2, I can type, but can not hit back space. This seems to be new in dojo 1.1.x. This was working in previous versions of dojo.

Is there a trac log for this? Is there a current work around?

Here is an example with the issue:


<html>
<head>
<style type="text/css">
/* <![CDATA[ */

Disable "parent" page scroll while dijit.Dialog scrolls

After showing a dijit.Dialog, is there a way to disable the scrolling of the "parent" page underneath it? I put parent in quotes since they are both on the same page but appear as parent/child.

My Dialog scrolls and when it gets to the bottom of the dialog, the parent page then starts to scroll. The behavior I want is to have the Dialog scroll when its shown and disable the parent scroll. Once the dialog is dismissed, then the parent can scroll again. Any ideas?

Syndicate content