[FIXED] [V0.8] Window modal can't be set after page load?

  1. #1

    [FIXED] [V0.8] Window modal can't be set after page load?

    It seems that setting the Modal property of a window causes an error if trying to set it (via an AjaxEvent) after the initial page load.
  2. #2

    RE: [FIXED] [V0.8] Window modal can't be set after page load?

    I've added several new Methods to the Window class which should help with setting the Modal state of an <ext:Window>. The new code also solves the setting of the .Modal property during an AjaxEvent.

    The new Methods include the following:

    Example (server-side)

    Window1.ShowModal(); // Shows the Modal state for the Window
    Window1.HideModal(); // Hides the Modal state for the Window
    Window1.ToggleModal(); // Toggles the Modal state for the window.
    The same methods now also exist in the client-side API.

    Example (client-side)

    Window1.showModal(); // Shows the Modal state for the Window
    
    Window1.hideModal(); // Hides the Modal state for the Window
    
    Window1.toggleModal();
    This new functionality has been committed to SVN and will be publicly available with the v0.8 release.

    Hope this helps.

    Geoffrey McGill
    Founder

Similar Threads

  1. Replies: 5
    Last Post: Apr 20, 2012, 6:20 AM
  2. Replies: 2
    Last Post: Oct 11, 2011, 1:15 PM
  3. Replies: 2
    Last Post: Feb 15, 2011, 8:24 PM
  4. [FIXED] [V0.8.0] modal window in desktop
    By [WP]joju in forum Bugs
    Replies: 2
    Last Post: Feb 02, 2009, 1:23 AM
  5. Replies: 6
    Last Post: Jan 26, 2009, 10:06 AM

Posting Permissions