[CLOSED] Panel AutoLoad URL Changed in 1.3?

  1. #1

    [CLOSED] Panel AutoLoad URL Changed in 1.3?

    Guys,

    Previously, I was able to load an ASP.net URL (with ~) from the AutoLoad.URL property of a panel (in IFRAME mode) without a problem. Now, I'm getting an issue about /~/My/URL/Path.aspx not being found. Did something change with the AutoLoad.URL Property of the Panel?

    See below for sample:

    Ext.Net.Panel newTab = new Ext.Net.Panel();
    newTab.ID = "tab_Test";
    newTab.Closable = true;
    newTab.Title = "My Title";
    newTab.TabTip = "My Description";
    newTab.AutoLoad.Url = "~/Pages/Test.aspx";
    newTab.AutoLoad.Mode = Ext.Net.LoadMode.IFrame;
    newTab.AutoLoad.NoCache = true;
    newTab.AutoLoad.MaskMsg = "Loading...";
    newTab.AutoLoad.ShowMask = true;
    newTab.Icon = Ext.Net.Icon.Page;
    // DocumentPanel defined as TabPanel elsewhere
    newTab.AddTo(DocumentPanel);
    DocumentPanel.SetActiveTab(newTab.ID);
    Last edited by Daniil; Mar 14, 2012 at 10:31 PM. Reason: [CLOSED]
  2. #2
    Hi,

    Thanks for the report. We will investigate.

    To fix it immediately, please replace
    newTab.AddTo(DocumentPanel);
    with
    DocumentPanel.Items.Add(newTab);
    newTab.Render();
  3. #3
    I was able to fix it temporarily with a Page.ResolveUrl("~/Pages/Temp.aspx") also...which outputs "/Pages/Temp.aspx". Just wanted to let you know in case the change wasn't intentional. In general, I'd like to be able to use ASP.Net '~' URLs if possible which helps with absolute vs. relative issues.

    Thanks!
    Jason

    Quote Originally Posted by Daniil View Post
    Hi,

    Thanks for the report. We will investigate.

    To fix it immediately, please replace
    newTab.AddTo(DocumentPanel);
    with
    DocumentPanel.Items.Add(newTab);
    newTab.Render();
  4. #4
    Hi,

    Fixed in SVN, please update
  5. #5

Similar Threads

  1. Grid Panel Row color not changed.
    By Rupesh in forum 1.x Help
    Replies: 1
    Last Post: May 08, 2012, 10:41 AM
  2. Replies: 0
    Last Post: Oct 15, 2010, 6:04 AM
  3. [CLOSED] AutoLoad property changed?
    By Jurke in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Dec 18, 2008, 12:41 PM
  4. Auto Resize Panel in ViewPort on client-side Panel.AutoLoad
    By randy85253 in forum 1.x Legacy Premium Help
    Replies: 13
    Last Post: Dec 03, 2008, 3:27 PM
  5. [CLOSED] Auto Resize of North Panel in ViewPort on Panel.AutoLoad
    By randy85253 in forum 1.x Legacy Premium Help
    Replies: 4
    Last Post: Nov 19, 2008, 12:13 AM

Tags for this Thread

Posting Permissions