[CLOSED] How to reload a Tab client side?

  1. #1

    [CLOSED] How to reload a Tab client side?

    Hi,

    Please suggest us how to reload a Tab client side using Ext js.

    Previously we were using like this:

    
      parent.Tab1.loader.url = "Frm_TestPage.aspx";
      parent.Tab1.reload(true);
    Last edited by Daniil; Mar 19, 2014 at 8:49 AM. Reason: [CLOSED]
  2. #2
    Hi @speedstepmem4,

    Please use:
    parent.Tab1.loader.lastOptions.url = "Frm_TestPage.aspx";
    parent.Tab1.reload(true);
  3. #3

    Reload a Tab client side?

    Quote Originally Posted by Daniil View Post
    Hi @speedstepmem4,

    Please use:
    parent.Tab1.loader.lastOptions.url = "Frm_TestPage.aspx";
    parent.Tab1.reload(true);

    Hi Daniil,

    We have provided a screen shot below as an attachment which will clearly demonstrate the error we are getting.
    Kindly have a look and guide us! Reloading a tab provides undefined error in js. But we are able to assign the url in the above line of code!!!
    Attached Thumbnails Click image for larger version. 

Name:	Tab reload error.jpg 
Views:	18 
Size:	74.0 KB 
ID:	8011  
  4. #4
    What is the "Dimension"?
  5. #5

    Reload a Tab client side?

    Quote Originally Posted by Daniil View Post
    What is the "Dimension"?

    Hi Daniil,

    Not worry about that. It's just a Namespace which we are adding in Resource Manager.
     <ext:ResourceManager runat="server" Namespace="Dimension" />
    And is "Dimension" which cause the error?
  6. #6
    Then it is OK.

    Please clarify why do you think that Quick Watch shows you an error? Just the reload method returns nothing.
  7. #7

    Reload a Tab client side?

    Quote Originally Posted by Daniil View Post
    Then it is OK.

    Please clarify why do you think that Quick Watch shows you an error? Just the reload method returns nothing.

    Actaully in the code part provided, we are actually changing the version of the display page based on the selected item from a combo box.
    After loading the url from the below code we are reloading the page with the new url. In this case, the reload returns nothing which causes the page to be in same state as before (i.e) not displaying the new url or page. Hope you get the point.

    parent.window.Dimension.Tab1.loader.url = "Frm_Dashboard_001.aspx";
  8. #8
    I don't see that you tried this suggestion.

    Quote Originally Posted by Daniil View Post
    Please use:
    parent.Tab1.loader.lastOptions.url = "Frm_TestPage.aspx";
    parent.Tab1.reload(true);

Similar Threads

  1. Replies: 4
    Last Post: Jun 18, 2013, 4:50 AM
  2. [CLOSED] reload store and grid on client side
    By ryan.kim in forum 1.x Legacy Premium Help
    Replies: 5
    Last Post: Aug 12, 2011, 12:39 PM
  3. Replies: 1
    Last Post: Dec 01, 2010, 5:14 PM
  4. Replies: 0
    Last Post: Sep 17, 2009, 8:04 AM

Posting Permissions