[CLOSED] .swf animation does not work calling a method after tree panel node is clicked

  1. #1

    [CLOSED] .swf animation does not work calling a method after tree panel node is clicked

    Hi,

    I need to show an .swf animation after a tree node is clicked, I have the same code when the page is loaded.

    When the page is loaded it works fine, but it does not work when the tree node is clicked. Could you please tell me what else do I need to do?

    protected void Page_Load(object sender, EventArgs e)
    {
        if (!X.IsAjaxRequest)
        {
            portalAnimation.Url = this.ResolveUrl(@".\Portals\EN\Portal1.swf");
        }
    }
    
    // After tree node is clicked I call this method
    protected void TreePanelPortalsNodeClick(object sender, DirectEventArgs e)
    {
        portalAnimation.Url = this.ResolveUrl(@".\Portals\EN\Portal1.swf");
    }
    
    <ext:TreePanel 
        ID="TreePanelPortals" 
        runat="server" 
        Padding="5"
        Animate="true"
        EnableDD="true"
        ContainerScroll="true"
        DDGroup="organizerDD"
        RootVisible="false"
        Width="200"
        AutoScroll="true">
        <DirectEvents>
            <Click OnEvent="TreePanelPortalsNodeClick" />
        </DirectEvents>
    </ext:TreePanel>
  2. #2

    RE: [CLOSED] .swf animation does not work calling a method after tree panel node is clicked

    Hi Flor,

    Do you still require assistance with this issue?

    Geoffrey McGill
    Founder
  3. #3

    RE: [CLOSED] .swf animation does not work calling a method after tree panel node is clicked

    Hi Geoffrey,

    No I do not.

    I solved this issue adding the following line;

    PortalAnimation.Render();
    Thanks,

Similar Threads

  1. Replies: 1
    Last Post: Oct 26, 2012, 8:52 AM
  2. add node to tree panel
    By a_elsayed2010 in forum 1.x Help
    Replies: 0
    Last Post: Oct 17, 2010, 2:35 PM
  3. [CLOSED] Tree Panel: Buttons on each node
    By gokcemutlu in forum 1.x Legacy Premium Help
    Replies: 3
    Last Post: May 25, 2009, 9:55 AM
  4. Selected Node - tree panel
    By filipator in forum 1.x Help
    Replies: 3
    Last Post: Mar 25, 2009, 2:58 PM
  5. [CLOSED] should remove for node in tree panel
    By speedstepmem2 in forum 1.x Legacy Premium Help
    Replies: 3
    Last Post: Mar 24, 2009, 5:19 PM

Posting Permissions