<?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"
	>
<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>
	<pubDate>Sat, 22 Nov 2008 10:10:18 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6</generator>
		<item>
		<title>By: lauren</title>
		<link>http://laurenlavoie.com/avalon/167#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-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-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-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'm new to this browser-like stuff.

I had stumbled upon KeepAlive="True" to get my pages to work, but to understand the 'why' and 'how' 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 - 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>
