[CLOSED] [1.0] combobox InsertItem error

  1. #1

    [CLOSED] [1.0] combobox InsertItem error

    Hi,

    I have a combo box in a menu, please reffered to previous topic http://forums.ext.net/showthread.php...8063-16-1.aspx.

    With your suggests all works fine, but if I add items runtime before "open" combobox the operation combobox.InsertItem(...) generates the error "combobox is not define".

    I try to add items (always runtime) after "open" combobox" and all works fine...I do not understand why...maybe the event <GetListParent Handler="return this.el.up('.x-menu');" /> does the difference.

    With term "open" I mean that I click on the menu that contains the combo.

    What can I do to avoid the error ? I have to "simulate" open or do something else ?

    Many thanks,
    Paolo
  2. #2

    RE: [CLOSED] [1.0] combobox InsertItem error

    Hi,

    Try to set LazyMode="Instance" for the combo (ddlFiltriSalvati)
  3. #3

    RE: [CLOSED] [1.0] combobox InsertItem error



    Hi Vladimir,
    I try and it works perfectly: many thanks!!!!
    Paolo

Similar Threads

  1. Replies: 2
    Last Post: Jun 18, 2012, 8:39 PM
  2. [CLOSED] javascript error while setting combobox first value
    By ISI in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Aug 26, 2011, 2:22 PM
  3. [CLOSED] ComboBox script error:
    By rthiney in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Mar 01, 2010, 8:17 AM
  4. [CLOSED] UI error with fieldset and combobox
    By jchau in forum 1.x Legacy Premium Help
    Replies: 3
    Last Post: Oct 07, 2009, 5:58 AM
  5. [CLOSED] ComboBox in grid error
    By Jurke in forum 1.x Legacy Premium Help
    Replies: 4
    Last Post: Apr 23, 2009, 4:41 AM

Posting Permissions