[CLOSED] Loading a window from code behind stopped working

  1. #1

    [CLOSED] Loading a window from code behind stopped working

    I am in the process of updating a project that used coolite v0.8 to v3.

    I have a link button in a gridview that when clicked loads an aspx page into an ext window and then opens the window.

    Here is the code behind:

    protected void getForm(object sender, CommandEventArgs e)
      {
    
        if (e.CommandName == "WorkForm")
        {
           myWin.ClearContent();      
           myWin.AutoLoad.Url = "WorkForm.aspx";
           myWin.LoadContent();
           myWin.Show();
        }
    }
    When I converted to v3, the code still steps through but the window stopped opening.
    Last edited by fabricio.murta; Mar 02, 2016 at 3:11 PM. Reason: no user feedback for 7+ days
  2. #2
    Hello @jmilton!

    Ext.NET 3 is not fully backwards compatible with Coolite 0.8. In order to show a window with a remote content on it, you now have to define a loader. Look at this example: Load external website into an <ext:Window>. I believe this showcases exactly what you want to do.

    If you still can't figure out how to make the window open with content, let us know.
    Fabrício Murta
    Developer & Support Expert

Similar Threads

  1. Replies: 5
    Last Post: May 18, 2013, 11:58 PM
  2. Replies: 12
    Last Post: Jul 25, 2011, 2:25 PM
  3. Ext.Net.ResourceBuilder stopped working
    By purvi in forum 1.x Help
    Replies: 0
    Last Post: Sep 22, 2010, 9:52 PM
  4. [CLOSED] VBoxlayout Stopped Working after SVN update
    By SymSure in forum 1.x Legacy Premium Help
    Replies: 8
    Last Post: Mar 23, 2010, 3:17 PM
  5. EventMasks stopped working
    By EzaBlade in forum 1.x Help
    Replies: 5
    Last Post: Mar 24, 2009, 6:21 PM

Posting Permissions