[CLOSED] Window closeAction default changed from ExtJS from destroy to hide

  1. #1

    [CLOSED] Window closeAction default changed from ExtJS from destroy to hide

    ExtJS 4.1.3 docs say Ext.window.Window.closeAction defaults to 'destroy' but Ext.NET, it defaults to 'hide' instead. Was this intended and will it stay this way? I am creating windows in javascript.

    
    
    Ext.window.Window.override({
        closeAction     : "hide",    
        defaultRenderTo : "body",
    Last edited by Daniil; Nov 28, 2012 at 4:14 PM. Reason: [CLOSED]
  2. #2
    I think if you want all windows created on the server side to default to hide, the server control should send down the config closeAction: 'hide' instead of overriding the javascript class.
  3. #3
    I just looked at Ext.NET v1.0 and the same override was there too so you can disregard my opening post. No need to remove the override since it has been there since v1.0. I will just keep this in mind when creating windows in javascript.

    You can mark this as closed.
  4. #4
    In Ext.Net, Hide close action was by default since Window class implementation (since Coolite 0.x versions) therefore Hide will be default value in future as well
    It was changed because Hide mode is used more often than not under WebForm
    Vladimir Shcheglov
    Sr. Developer

Similar Threads

  1. Hide Request Failure default popup window
    By brittongr in forum 1.x Help
    Replies: 2
    Last Post: Jan 06, 2012, 11:37 AM
  2. [CLOSED] Destop Window Destroy load Problem
    By ogokgol in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Mar 01, 2011, 5:41 AM
  3. Replies: 4
    Last Post: Dec 02, 2010, 1:44 PM
  4. Replies: 1
    Last Post: Dec 26, 2009, 7:59 AM
  5. Replies: 4
    Last Post: Jun 03, 2009, 5:24 PM

Posting Permissions