<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: How Controls Retain Their State when You Navigate Away</title>
	<atom:link href="http://laurenlavoie.com/avalon/167/feed" rel="self" type="application/rss+xml" />
	<link>http://laurenlavoie.com/avalon/167</link>
	<description>A blog</description>
	<lastBuildDate>Wed, 23 Feb 2011 12:33:57 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1</generator>
	<item>
		<title>By: srinivas</title>
		<link>http://laurenlavoie.com/avalon/167/comment-page-1#comment-238733</link>
		<dc:creator>srinivas</dc:creator>
		<pubDate>Wed, 04 Nov 2009 13:28:00 +0000</pubDate>
		<guid isPermaLink="false">http://laurenlavoie.com/?p=167#comment-238733</guid>
		<description>how read data from JouranelEntry ,i.e i want stire in text block in Hoizontal way , is it possible ?</description>
		<content:encoded><![CDATA[<p>how read data from JouranelEntry ,i.e i want stire in text block in Hoizontal way , is it possible ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bill</title>
		<link>http://laurenlavoie.com/avalon/167/comment-page-1#comment-170244</link>
		<dc:creator>Bill</dc:creator>
		<pubDate>Thu, 12 Mar 2009 13:11:35 +0000</pubDate>
		<guid isPermaLink="false">http://laurenlavoie.com/?p=167#comment-170244</guid>
		<description>In Navigate &quot;By object&quot; you say: 

&quot;In this case, the object tree is kept alive and a reference to the tree is stored in its JournalEntry.&quot; 

I didn&#039;t test this to see if it were true but it is not true if you navigate a 3rd way which you didn&#039;t mention but is very similar to By Object:

pfAccountStatus pf = new pfAccountStatus();
mainFrame.Content = pf;
// pf... is a PageFunction, mainFrame is a Frame

I could have done this By Object the other way and maybe I should have accept now the object tree is not kept alive accept for the properties I turn the Journal bit on for.

On another note, any idea how you can programatically keep a navigated page from going into the journal at all (i.e. you can&#039;t navigate back to it)? I was googling that question when I stumbled on this page.</description>
		<content:encoded><![CDATA[<p>In Navigate &#8220;By object&#8221; you say: </p>
<p>&#8220;In this case, the object tree is kept alive and a reference to the tree is stored in its JournalEntry.&#8221; </p>
<p>I didn&#8217;t test this to see if it were true but it is not true if you navigate a 3rd way which you didn&#8217;t mention but is very similar to By Object:</p>
<p>pfAccountStatus pf = new pfAccountStatus();<br />
mainFrame.Content = pf;<br />
// pf&#8230; is a PageFunction, mainFrame is a Frame</p>
<p>I could have done this By Object the other way and maybe I should have accept now the object tree is not kept alive accept for the properties I turn the Journal bit on for.</p>
<p>On another note, any idea how you can programatically keep a navigated page from going into the journal at all (i.e. you can&#8217;t navigate back to it)? I was googling that question when I stumbled on this page.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: lauren</title>
		<link>http://laurenlavoie.com/avalon/167/comment-page-1#comment-1305</link>
		<dc:creator>lauren</dc:creator>
		<pubDate>Tue, 03 Oct 2006 16:09:11 +0000</pubDate>
		<guid isPermaLink="false">http://laurenlavoie.com/?p=167#comment-1305</guid>
		<description>For those following along at home, this is the response I sent to Sam in email:

Sam,
We tried this out, and we saw the same behavior you are seeing. According to Sam Bent, one of our databinding experts, one option would be to actually update the SQL database before navigating. If this is not the right behavior for your application, you could:

â€¢	Use KeepAlive=true (which I believe you have already experimented with. This should work, but of course will keep the whole page alive in memory)
â€¢	Keep a reference to the ListBox data source and repopulate it yourself
â€¢	Maintain static state for the page that the new instance of the page would reference and manipulate (assuming you are journaling by URI and not using KeepAlive=true)

(Thanks to Dave Relyea for help with the suggestions above).

Hope this helps,
Lauren</description>
		<content:encoded><![CDATA[<p>For those following along at home, this is the response I sent to Sam in email:</p>
<p>Sam,<br />
We tried this out, and we saw the same behavior you are seeing. According to Sam Bent, one of our databinding experts, one option would be to actually update the SQL database before navigating. If this is not the right behavior for your application, you could:</p>
<p>â€¢	Use KeepAlive=true (which I believe you have already experimented with. This should work, but of course will keep the whole page alive in memory)<br />
â€¢	Keep a reference to the ListBox data source and repopulate it yourself<br />
â€¢	Maintain static state for the page that the new instance of the page would reference and manipulate (assuming you are journaling by URI and not using KeepAlive=true)</p>
<p>(Thanks to Dave Relyea for help with the suggestions above).</p>
<p>Hope this helps,<br />
Lauren</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sam</title>
		<link>http://laurenlavoie.com/avalon/167/comment-page-1#comment-1304</link>
		<dc:creator>Sam</dc:creator>
		<pubDate>Fri, 29 Sep 2006 13:52:47 +0000</pubDate>
		<guid isPermaLink="false">http://laurenlavoie.com/?p=167#comment-1304</guid>
		<description>Lauren,

I sent you an answer by mail a few days ago, did you get that mail?

Somehow I got the feeling the mail got lost :(</description>
		<content:encoded><![CDATA[<p>Lauren,</p>
<p>I sent you an answer by mail a few days ago, did you get that mail?</p>
<p>Somehow I got the feeling the mail got lost :(</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: lauren</title>
		<link>http://laurenlavoie.com/avalon/167/comment-page-1#comment-1303</link>
		<dc:creator>lauren</dc:creator>
		<pubDate>Wed, 27 Sep 2006 22:10:05 +0000</pubDate>
		<guid isPermaLink="false">http://laurenlavoie.com/?p=167#comment-1303</guid>
		<description>Sam, I sent you an email with more questions.</description>
		<content:encoded><![CDATA[<p>Sam, I sent you an email with more questions.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sam</title>
		<link>http://laurenlavoie.com/avalon/167/comment-page-1#comment-1302</link>
		<dc:creator>Sam</dc:creator>
		<pubDate>Wed, 27 Sep 2006 14:50:49 +0000</pubDate>
		<guid isPermaLink="false">http://laurenlavoie.com/?p=167#comment-1302</guid>
		<description>It had been quite a surprise to read my own name in your blog - had to look twice :)

First, thanks for the explanation, this is really helpful for me since I&#039;m new to this browser-like stuff.

I had stumbled upon KeepAlive=&quot;True&quot; to get my pages to work, but to understand the &#039;why&#039; and &#039;how&#039; of this is very nice.

For my question about the Listbox, I had a Page containing a Listbox and a few buttons/Textboxes to enter stuff into the Listbox.

On navigating to another page and back to the Listbox page the content of the Listbox was gone.
Should a Listbox get persisted just like a Textbox, and I was using it wrong?
(do you need some source to clarify? I could squeeze an example in a comment, I guess.)

oh, and thanks a lot!</description>
		<content:encoded><![CDATA[<p>It had been quite a surprise to read my own name in your blog &#8211; had to look twice :)</p>
<p>First, thanks for the explanation, this is really helpful for me since I&#8217;m new to this browser-like stuff.</p>
<p>I had stumbled upon KeepAlive=&#8221;True&#8221; to get my pages to work, but to understand the &#8216;why&#8217; and &#8216;how&#8217; of this is very nice.</p>
<p>For my question about the Listbox, I had a Page containing a Listbox and a few buttons/Textboxes to enter stuff into the Listbox.</p>
<p>On navigating to another page and back to the Listbox page the content of the Listbox was gone.<br />
Should a Listbox get persisted just like a Textbox, and I was using it wrong?<br />
(do you need some source to clarify? I could squeeze an example in a comment, I guess.)</p>
<p>oh, and thanks a lot!</p>
]]></content:encoded>
	</item>
</channel>
</rss>

