[CLOSED] [1.0] Panel collapse from javascript giving error

  1. #1

    [CLOSED] [1.0] Panel collapse from javascript giving error

    Dear Team,

    I am trying to collapse a panel using java script with #{pnlHeader}.collspase(true);

    But it is giving an error as Invalid argument.

    Location: Ext.DomHelper = ........
    g.dom.style.width=g.addUnits(e)
    where e is NaN. saying invalid argument.

    I am sending my test solution to coolite forum mail id.

    Regards,
    Gopal
    Project Leader

    Bizbites Private Limited

    Secunderabad [Smile]
  2. #2

    RE: [CLOSED] [1.0] Panel collapse from javascript giving error

    Hi,

    If you want to collapse border layout region then you have to mark region as Collapsible


    Collapsible="true"

    If you do not want to see header for expanded region then add to the Norh control

    Header="false"
  3. #3

    RE: [CLOSED] [1.0] Panel collapse from javascript giving error

    Hi,

    Also use DirectMethodNamespace instead AjaxMethodNamespace
  4. #4

    RE: [CLOSED] [1.0] Panel collapse from javascript giving error

    Hi,

    Thank you very much. It worked.

    Regards,
    Gopal.

Similar Threads

  1. [CLOSED] Collapse panel throws error
    By machinableed in forum 2.x Legacy Premium Help
    Replies: 1
    Last Post: Jun 05, 2012, 3:29 AM
  2. Replies: 2
    Last Post: Dec 04, 2010, 5:30 PM
  3. Replies: 4
    Last Post: Aug 19, 2009, 2:01 PM
  4. Replies: 2
    Last Post: Jul 01, 2009, 1:06 PM
  5. IE7 Update Panel javascript error with Mono
    By cristianpsg in forum Bugs
    Replies: 0
    Last Post: Apr 30, 2009, 1:27 PM

Posting Permissions