Announcement

Collapse
No announcement yet.

ComboBox not adding items in preload - works in OnShow ??

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • ComboBox not adding items in preload - works in OnShow ??

    As the title suggests, I have a few comboBox.AddItem commands in the onPreload for a page, and the cb adds nothing as a result.

    If I cut the code out and paste it into onShow, it works exactly as expected. The only problem is the slight graphic "glitch" from adding the items during the onShow.

    Am I missing something? Should I be able to add the items in the onPreload?

    Thanks as always!

  • #2
    From the documentation regarding the On Preload event:

    Note: Some actions (especially object-related actions) may not work properly on this event because it occurs before any of the page's objects are "created." If an action doesn't work at On Preload, try it at On Show instead.
    In other words, what you see is expected and normal.

    Ulrich

    Comment


    • #3
      Thank you as always!

      Comment

      Working...
      X