7 Mar 2011 2:26 AM #1
Refresh page with state save
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.
7 Mar 2011 8:04 AM #2
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
By helavissa in forum Ext 3.x: Help & DiscussionReplies: 2Last Post: 10 Sep 2010, 6:55 AM
By enry in forum Ext 2.x: BugsReplies: 3Last Post: 4 Jun 2008, 4:25 AM
By Gunmen in forum Ext 2.x: Help & DiscussionReplies: 2Last Post: 6 Apr 2008, 4:59 PM
By marko1234 in forum Ext 2.x: Help & DiscussionReplies: 7Last Post: 7 Jan 2008, 3:33 AM