New Posts New Posts RSS Feed: How to dispose pages
  FAQ FAQ  Forum Search   Calendar   Register Register  Login Login

How to dispose pages

 Post Reply Post Reply
Author
vecs View Drop Down
Newbie
Newbie


Joined: 05-Dec-2007
Location: Russian Federation
Posts: 22
Post Options Post Options   Quote vecs Quote  Post ReplyReply Direct Link To This Post Topic: How to dispose pages
    Posted: 29-Dec-2007 at 1:16am
That is excellent solution:
forum_posts.asp?TID=631&PID=2309#2309
Thank you very much!

Back to Top
Bill Jensen View Drop Down
IdeaBlade
IdeaBlade
Avatar

Joined: 31-Jul-2007
Location: United States
Posts: 229
Post Options Post Options   Quote Bill Jensen Quote  Post ReplyReply Direct Link To This Post Posted: 28-Dec-2007 at 4:54pm
You're right.  If you have many page views, you may want to use a workspace that actually closes views when they are not visible.
 
The thread referenced by Dan contains some useful information.
See also my response to your other post:
 
 
It seems to me that the base PageController class should be fielding the SmartPartClosing event from the workspace and terminating itself.  Next week I'll ask Ward if it's intentionally omitted or just an oversight.
 
Hope this helps.
 
Bill Jensen
Back to Top
orcities View Drop Down
Senior Member
Senior Member
Avatar

Joined: 28-Aug-2007
Location: United States
Posts: 454
Post Options Post Options   Quote orcities Quote  Post ReplyReply Direct Link To This Post Posted: 28-Dec-2007 at 1:06pm
Back to Top
vecs View Drop Down
Newbie
Newbie


Joined: 05-Dec-2007
Location: Russian Federation
Posts: 22
Post Options Post Options   Quote vecs Quote  Post ReplyReply Direct Link To This Post Posted: 28-Dec-2007 at 4:42am
We have many different pages in our application and it is not good idea to host every once-opened page in memory till the end of user session.
The better approach here is to dispose page every time user close it in UI and recreate page when user call it again (this not concerns some kinds of reusable or singletone pages).
Is it possible to implement this? Are there any tips/examples?


Edited by vecs - 28-Dec-2007 at 5:38am
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down