Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    How to pop-up a dialog and disable all background control?

    I am using SmartGWT 2.3 and FireFox.

    I create a dialog that contain a vlayout and a form.

    i use a button onclick handler to call the dialog with "dialog.show()"

    my question is when the dialog popup, everything is fine, but i still can access the background control.

    how can I disable all background control?

    #2
    You need to use a modal window. See this following showcase:
    http://www.smartclient.com/smartgwt/showcase/#layout_windows_modality
    Click "View source" to see the source code.

    Comment


      #3
      Originally posted by warrentang
      You need to use a modal window. See this following showcase:
      http://www.smartclient.com/smartgwt/showcase/#layout_windows_modality
      Click "View source" to see the source code.
      Thanks!
      Problem solved!

      Comment

      Working...
      X