<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.1.2" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
	<title>Comments on: .Net Membership - Part II - LoginView</title>
	<link>http://www.creativeui.com/2007/10/05/net-membership-part-ii-loginview/</link>
	<description></description>
	<pubDate>Thu, 11 Mar 2010 14:58:03 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.1.2</generator>

	<item>
		<title>By: phil</title>
		<link>http://www.creativeui.com/2007/10/05/net-membership-part-ii-loginview/#comment-1022</link>
		<author>phil</author>
		<pubDate>Mon, 07 Jul 2008 00:31:14 +0000</pubDate>
		<guid>http://www.creativeui.com/2007/10/05/net-membership-part-ii-loginview/#comment-1022</guid>
					<description>That did it, I can now access the controls in my LoginView templates.

Spent a significant amount of time trying to figure out why the reference seemed to always be null. Your description really helped.

Still cannot get the ViewChanged and ViewChanging events to fire though but as you say that's not a requirement now that I can access the controls.

Thanks a lot.</description>
		<content:encoded><![CDATA[<p>That did it, I can now access the controls in my LoginView templates.</p>
<p>Spent a significant amount of time trying to figure out why the reference seemed to always be null. Your description really helped.</p>
<p>Still cannot get the ViewChanged and ViewChanging events to fire though but as you say that&#8217;s not a requirement now that I can access the controls.</p>
<p>Thanks a lot.</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: David Baxter</title>
		<link>http://www.creativeui.com/2007/10/05/net-membership-part-ii-loginview/#comment-1023</link>
		<author>David Baxter</author>
		<pubDate>Mon, 07 Jul 2008 14:07:34 +0000</pubDate>
		<guid>http://www.creativeui.com/2007/10/05/net-membership-part-ii-loginview/#comment-1023</guid>
					<description>Hey Phil, glad to help!

David</description>
		<content:encoded><![CDATA[<p>Hey Phil, glad to help!</p>
<p>David</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Ihab</title>
		<link>http://www.creativeui.com/2007/10/05/net-membership-part-ii-loginview/#comment-1054</link>
		<author>Ihab</author>
		<pubDate>Sat, 23 Aug 2008 00:08:10 +0000</pubDate>
		<guid>http://www.creativeui.com/2007/10/05/net-membership-part-ii-loginview/#comment-1054</guid>
					<description>Thanks alot, I love it!</description>
		<content:encoded><![CDATA[<p>Thanks alot, I love it!</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Eric Medin</title>
		<link>http://www.creativeui.com/2007/10/05/net-membership-part-ii-loginview/#comment-1082</link>
		<author>Eric Medin</author>
		<pubDate>Thu, 06 Nov 2008 17:29:45 +0000</pubDate>
		<guid>http://www.creativeui.com/2007/10/05/net-membership-part-ii-loginview/#comment-1082</guid>
					<description>The reason the LoginView's ViewChanging and ViewChanged events aren't firing is because they only are fired if the logged in status changes on postback.  The MSDN documentation for these events explicitly states that these events don't fire when logging in using the Login Control or logging out using the LoginStatus control.  However, if you were to manually do something like FormsAuthentication.SignOut() followed by a Response.Redirect() then the event would fire.</description>
		<content:encoded><![CDATA[<p>The reason the LoginView&#8217;s ViewChanging and ViewChanged events aren&#8217;t firing is because they only are fired if the logged in status changes on postback.  The MSDN documentation for these events explicitly states that these events don&#8217;t fire when logging in using the Login Control or logging out using the LoginStatus control.  However, if you were to manually do something like FormsAuthentication.SignOut() followed by a Response.Redirect() then the event would fire.</p>
]]></content:encoded>
				</item>
</channel>
</rss>
