[CLOSED] Strange problem when loading Ext.Net.Panel with Autoload.

  1. #1

    [CLOSED] Strange problem when loading Ext.Net.Panel with Autoload.

    Hi!

    We have some problem when we are using the Autoload.URL to show different filetypes.
    There is crash in ExtJS when we are using Internet Explorer 9.
    Rename ExtTest.zip.pdf to ExtTest.zip and unzip solution. This is a VS2008 solution.

    To produce the Error:
    Press toolbar button "Load PDF"
    Press toolbar button "Load JPG"
    Press toolbar button "Load PDF"

    Error in ExtJs doRemove function el.removeEventListeners(...)

    The application works like this.

    Default.aspx
    - Ext.Viewport with 2 buttons and a custom Ext.Panel component (TestPanel in MyCompnents).

    - Button1: Ask the TestPanel to load content 1 (JPG)
    - Button2: Ask the TestPanel to load content 2 (PDF)

    ImageViewer.aspx
    - Ext.Toolbar with a button "print"
    - Ext.DataView with a Template with an Image

    Responsable to show JPG files.
    This load its image from a Handler1.aspx

    MyComponents.TestPanel
    - Show JPG files with ImageViewer.aspx (Content 1)
    - Show PDF files directly from Handler1.aspx (Content 2)


    //Moltas
    Attached Files
    Last edited by Daniil; May 11, 2011 at 10:56 AM. Reason: [CLOSED]
  2. #2
    Hi,

    Try to call 'MyTestPanel.ClearContent();' before LoadContent calling

    void Button1_DirectClick(object sender, Ext.Net.DirectEventArgs e)
            {
                MyTestPanel.ClearContent();
                MyTestPanel.LoadMyContent( 1 );
            }
    
            void Button2_DirectClick(object sender, Ext.Net.DirectEventArgs e)
            {
                MyTestPanel.ClearContent();
                MyTestPanel.LoadMyContent( 2 );
            }
  3. #3

    Thanks!

    Thank you Vladimir!
    I'm waiting for the book "Tips'n tricks in Ext.Net" by Vladimir.
    I would definitely buy it!

    //Moltas

Similar Threads

  1. Replies: 3
    Last Post: May 09, 2012, 1:51 PM
  2. Very strange problem...
    By Puia in forum 1.x Help
    Replies: 0
    Last Post: Mar 13, 2010, 12:09 PM
  3. Replies: 5
    Last Post: Feb 16, 2010, 6:02 PM
  4. [CLOSED] AutoLoad IFrame strange behavior
    By acrossdev in forum 1.x Legacy Premium Help
    Replies: 15
    Last Post: May 20, 2009, 10:20 AM
  5. 2 Panel AutoLoad Url Problem
    By bruce in forum 1.x Help
    Replies: 2
    Last Post: Mar 19, 2009, 6:23 AM

Tags for this Thread

Posting Permissions