[CLOSED] panel-derived custom class with child window - clent rendering order/method

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1

    [CLOSED] panel-derived custom class with child window - clent rendering order/method

    The situation: I have a custom panel that needs its own popup form window. If I was doing this all inline, then I'd just set the window up at the top of the code and then it would be there when the panel is created so I can set up references on the client side. However, I haven't figured out a good way to set it up in the custom class so I can have the window already in existence when the panel's JS constructor fires.

    If I add the window to the panel's Controls collection, it gets rendered after the panel.

    Another possibility is outputting the window to the panel's ConfigOptions, but I can't figure out the necessary options to get that to serialize properly. (I would say this would be the preferred implementation if it's feasible)

    I could always work around by adding a getWindow() JS method that can find the window and reference that since I won't actually need the window until later, but I guess I'm a stickler for trying to do things the 'right' way (assuming I've even determined what that is).

    Any suggestions?
    Last edited by geoffrey.mcgill; Jan 19, 2015 at 4:00 AM.

Similar Threads

  1. Replies: 12
    Last Post: Dec 25, 2012, 11:55 AM
  2. [CLOSED] creating a custom class?
    By smmille1 in forum 1.x Legacy Premium Help
    Replies: 10
    Last Post: Jul 09, 2010, 9:31 PM
  3. [1.0] Rendering order causes problem
    By thchuong in forum 1.x Help
    Replies: 4
    Last Post: Jun 23, 2010, 1:19 AM
  4. Replies: 2
    Last Post: Apr 15, 2010, 5:33 AM
  5. How to create custom client component class?
    By jchau in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Dec 24, 2008, 5:17 AM

Posting Permissions