<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>PGS Software &#187; LoginView</title>
	<atom:link href="http://www.pgs-soft.com/tag/loginview/feed" rel="self" type="application/rss+xml" />
	<link>http://www.pgs-soft.com</link>
	<description>Nearshore Outsourcing IT Company - Offshore Development</description>
	<lastBuildDate>Fri, 30 Jul 2010 09:54:59 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Accessing controls located in LoginView</title>
		<link>http://www.pgs-soft.com/accessing-controls-located-in-loginview.html</link>
		<comments>http://www.pgs-soft.com/accessing-controls-located-in-loginview.html#comments</comments>
		<pubDate>Mon, 04 May 2009 10:52:55 +0000</pubDate>
		<dc:creator>Marcin Pilarczyk</dc:creator>
				<category><![CDATA[Developers]]></category>
		<category><![CDATA[aspx]]></category>
		<category><![CDATA[LoginView]]></category>

		<guid isPermaLink="false">http://www.pgs-soft.com/?p=2525</guid>
		<description><![CDATA[Everyday battle has just started :) Morning problem: &#60;asp:LoginView runat=&#34;server&#34;&#62; &#60;/AnonymousTemplate&#62; --something-- &#60;/AnonymousTemplate&#62; &#60;LoggedInTemplate&#62; &#60;asp:TextBox ID=&#34;magicTextBox&#34; runat=&#34;server&#34; /&#62; &#60;/LoggedInTemplate&#62; &#60;/asp:LoginView&#62; Does anyone know how to access control named magicTextBox from code behind? Of course referencing it by name or using FindControl method was unsuccessful. I have just used temporal solution with JavaScript. When I find [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px; margin-top: 5px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.pgs-soft.com%2Faccessing-controls-located-in-loginview.html"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.pgs-soft.com%2Faccessing-controls-located-in-loginview.html&amp;source=pgssoftware&amp;style=normal&amp;service=bit.ly" height="61" width="50" /><br />
			</a>
		</div>
<p>Everyday battle has just started :) </p>
<p>Morning problem:</p>

<div class="wp_syntax"><div class="code"><pre class="java" style="font-family:monospace;"><span style="color: #339933;">&lt;</span>asp<span style="color: #339933;">:</span>LoginView runat<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;server&quot;</span><span style="color: #339933;">&gt;</span>
  <span style="color: #339933;">&lt;/</span>AnonymousTemplate<span style="color: #339933;">&gt;</span>
  <span style="color: #339933;">--</span>something<span style="color: #339933;">--</span>
  <span style="color: #339933;">&lt;/</span>AnonymousTemplate<span style="color: #339933;">&gt;</span>
  <span style="color: #339933;">&lt;</span>LoggedInTemplate<span style="color: #339933;">&gt;</span>
    <span style="color: #339933;">&lt;</span>asp<span style="color: #339933;">:</span>TextBox ID<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;magicTextBox&quot;</span> runat<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;server&quot;</span> <span style="color: #339933;">/&gt;</span>
  <span style="color: #339933;">&lt;/</span>LoggedInTemplate<span style="color: #339933;">&gt;</span>
<span style="color: #339933;">&lt;/</span>asp<span style="color: #339933;">:</span>LoginView<span style="color: #339933;">&gt;</span></pre></div></div>

<p>Does anyone know how to access control named <strong>magicTextBox</strong> from code behind? Of course referencing it by name or using FindControl method was unsuccessful. I have just used temporal solution with JavaScript. When I find something valuable I will let you know.</p>
<hr /><small>Copyright &copy; 2004 - 2010 by <a href="http://www.pgs-soft.com">PGS Software</a>
<br/><br/>
<a href="http://www.pgs-soft.com/accessing-controls-located-in-loginview.html#comments">Comments (0)</a> - originally posted here <a href="http://www.pgs-soft.com/accessing-controls-located-in-loginview.html">http://www.pgs-soft.com/accessing-controls-located-in-loginview.html</a> </small>

<h2>Related posts</h2><ol><li><a href='http://www.pgs-soft.com/ajax-control-toolkit-pagerequestmanagertimeoutexception.html' rel='bookmark' title='Permanent Link: Ajax Control Toolkit &#8211; PageRequestManagerTimeOutException'>Ajax Control Toolkit &#8211; PageRequestManagerTimeOutException</a></li>
<li><a href='http://www.pgs-soft.com/wcf-contracts-dont-miss-the-serialization-attributes.html' rel='bookmark' title='Permanent Link: WCF contracts &#8211; don&#8217;t miss the serialization attributes'>WCF contracts &#8211; don&#8217;t miss the serialization attributes</a></li>
<li><a href='http://www.pgs-soft.com/mvc-pattern-in-java-and-asp.html' rel='bookmark' title='Permanent Link: MVC pattern in Java and ASP'>MVC pattern in Java and ASP</a></li>
</ol>]]></content:encoded>
			<wfw:commentRss>http://www.pgs-soft.com/accessing-controls-located-in-loginview.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
