[OPEN] [#1394] [4.1.0] The property Hidden is rendered twice

  1. #1

    [OPEN] [#1394] [4.1.0] The property Hidden is rendered twice

    Hi,

    I've noticed that the property Hidden is rendered twice. You can easily test this when opening the WebForms based Ext.NET example page Window/Basic/Show.

    The rendered code for the hidden windows looks like this:
        new Ext.window.Window({
            id : "Window1",
            hidden : true,
            renderTo : Ext.get("ctl01"),
            width : 200,
            x : 250,
            y : 100,
            title : "With PostBack",
            iconCls : "#House",
            hidden : true
        });
    The property Hidden is registered in the following declarations of ConfigOptions:
    • AbstractComponent
      list.Add("hidden", new ConfigOption("hidden", null, false, this.Hidden ));
    • AbstractWindow
      list.Add("hiddenProxy", new ConfigOption("hiddenProxy", new SerializationOptions("hidden", JsonMode.Raw), "", this.HiddenProxy ));


    Regards
    Robert
  2. #2
    Hello Robert!

    Thanks for reporting the issue! Awesome and pin-pointed analysis feedback!

    Is this issue, besides the unnecessarily printed twice setting, bringing any actual trouble and/or inconsistency to your pages? Like, in some circumstances, printing hidden both true and false? I believe, as long as it does not break anything, it could be improved but do not really impose a restriction, so more like a glitch than an actual bug.

    Besides, it could have been added like this to overcome another issue that was harder to tackle with.

    Anyway, we've logged this as #1394 in our issues tracker not to lose the grasp of it!
    Fabrício Murta
    Developer & Support Expert
  3. #3
    Hi FabrÃ*cio,

    no, so far we haven't noticed any negative side effects while rendering twice the property Hidden.
    Both registered entries of Hidden in the ConfigOptions obtain their value from the same source; so they should be in sync.

    Nevertheless we just want to inform you about that... ;-)

    Regards
    Robert
  4. #4
    Hello! We really appreciate your feedback, thank you for confirming, and glad it does not really impose a broken behavior to the pages!
    Fabrício Murta
    Developer & Support Expert

Similar Threads

  1. [CLOSED] [#78] [GridPanel] Hidden columns are rendered
    By Leonid_Veriga in forum 2.x Legacy Premium Help
    Replies: 8
    Last Post: May 30, 2013, 5:43 AM
  2. [CLOSED] GridPanel: Paging toolbar is not rendered in a hidden div
    By OSYS_FMS in forum 1.x Legacy Premium Help
    Replies: 27
    Last Post: Apr 27, 2012, 10:25 AM
  3. [CLOSED] CompositeField - Height missing when form panel rendered hidden
    By craig2005 in forum 1.x Legacy Premium Help
    Replies: 9
    Last Post: Feb 07, 2011, 2:03 PM
  4. Replies: 5
    Last Post: Nov 16, 2010, 4:27 PM
  5. Replies: 1
    Last Post: Mar 01, 2010, 3:17 AM

Posting Permissions