Thread: [FIXED] [1.0] Container update problem

+ Reply to Thread
  1. #1

    [FIXED] [1.0] Container update problem

    Hi!

    I'm using Container component for displaying some HTML content in modal window. Window opens by calling DirectEvent in which this container initialized.

    For this purpose I tried using Container.Html property and Container.Update() method but FireBug shows "body is undefined" error, because DirectEvent returns:
    ContainerId.body.update('some html content')
    I tried next JS code and it works:
    ContainerId.update('some html content')
    I solved this problem by using Panel component, but Panel more complex and massive.

    Thank you.
    Last edited by geoffrey.mcgill; Aug 03, 2010 at 9:15 PM.

  2. #2
    Ext.NET - Dev Team
    Join Date
    Mar 2008
    Location
    Russia
    Posts
    8,450
    Hi,

    Fixed in SVN. Thanks for the bug reporting.
    Until Ext.Net release please use Call method
    ContainerId.Call("update", newHtml);
    Vladimir Shcheglov
    Ext.NET, Inc.
    Development Team

    Ext.NET Examples | Ext JS API Docs | Twitter

+ Reply to Thread

Tags for this Thread