[CLOSED] Incorrect Rendering of Child controls when parent user control is loaded in collapsed state

  1. #1

    [CLOSED] Incorrect Rendering of Child controls when parent user control is loaded in collapsed state

    i,
    some time ago I posted the problem that when controls were housed in a panel that was loaded with collapsed=true; when the panel is uncollapsed, the controls were incorrectly rendered.
    The solution you gave me was to add this listener to the panel:




    <Listeners>


    <Expand Handler="this.cascade(function(c){c.onTriggerClick &amp;&amp; ((c.lastSize &amp;&amp; (c.lastSize.width=0)) || true) &amp;&amp; c.setWidth(200)});" Single="true" />


    </Listeners>

    Now I am having the same problem, only this time the controls belong to a usercontrol; The above solution does not seem to work in this case.

    I have atached 2 screen dumps to illustrate the problem, in each case the user control is circled in red: The first shows how the usercontrol looks when it is loaded with collapsed=false;
    The second shows how the usercontrol looks when it is loaded with callapsed=true, and then it is uncollapsed by the user.
  2. #2

    RE: [CLOSED] Incorrect Rendering of Child controls when parent user control is loaded in collapsed state

    Hi,

    Can you post test sample which reproduces the problem? What version do you use? Just under 1.0 version this should not occurs
  3. #3

    RE: [CLOSED] Incorrect Rendering of Child controls when parent user control is loaded in collapsed state

    Whilst creating a test sample for you, I discovered that the cause of my problem was the ControlLayout that i was housing my controls in. Once I removed the ControlLayout, the problem went away and all I needed was that panel listener to resize the controls on EXpand.

Similar Threads

  1. Replies: 2
    Last Post: Nov 15, 2012, 12:52 AM
  2. Replies: 6
    Last Post: Dec 07, 2011, 12:55 PM
  3. Replies: 2
    Last Post: Oct 29, 2010, 8:51 AM
  4. [CLOSED] [1.0] Checkboxes in user control not updating (incorrect ID)
    By chrisbranson in forum 1.x Legacy Premium Help
    Replies: 4
    Last Post: May 05, 2010, 6:18 AM
  5. Replies: 2
    Last Post: Nov 09, 2009, 5:50 AM

Posting Permissions