Results 1 to 2 of 2

Thread: Refresh page with state save

  1. #1
    Sencha User
    Join Date
    Mar 2011
    Vote Rating

    Default Refresh page with state save

    Hi All,

    New to forum and needing some help.
    I have the following scenario:
    An extjs viewport with a treeview panel on the west and a miframe panel at the center.
    User selects an option from the treeview and the miframe panel opens another aspx page. (call this the "sub page")
    Changes are made on the sub page and the user now wants to refresh to see the effect of those changes.
    If I just do a refresh then the whole viewport is rebuilt and the user then needs to navigate to the page they were on to see the changes.

    My question is as follows; how can I make the page automatically go back to where the user was? So they don't need to re-navigate the tree.

    Thanks for any help.

  2. #2
    Ext JS Premium Member bryall's Avatar
    Join Date
    Jun 2010
    Philadelphia, PA
    Vote Rating


    Why would you want to refresh the entire page?? Why not just have a store and then reload the store.

    At any rate, take a look at stateful in the config options on the viewport... that's how you would save the current state of the viewport

Similar Threads

  1. Restore TreeGrid state on page refresh
    By helavissa in forum Ext 3.x: Help & Discussion
    Replies: 2
    Last Post: 10 Sep 2010, 6:55 AM
  2. Replies: 3
    Last Post: 4 Jun 2008, 4:25 AM
  3. Save state
    By Gunmen in forum Ext 2.x: Help & Discussion
    Replies: 2
    Last Post: 6 Apr 2008, 4:59 PM
  4. How to save tab state on refresh?
    By marko1234 in forum Ext 2.x: Help & Discussion
    Replies: 7
    Last Post: 7 Jan 2008, 3:33 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts