Set href of anchor tag inside of LoggedInTemplate
<p>I am trying to create Dynamic link to user Profile, but it wont work as i expect. </p>

<p>i tryed this:    </p>

<pre><code>    &lt;li class='last' style="float:right"&gt; &lt;a id="loginLink2" runat="server" href="~/Profile/"+&lt;asp:LoginName runat="server" /&gt;""
&gt; &gt;&lt;asp:LoginName ID="LoginName1" runat="server" /&gt;  &lt;/a&gt;&lt;/l&gt;&gt;                                             &lt;asp:LoginStatus ID="LoginStatus1" runat="server" OnLoggedOut="LoginStatus1_LoggedOut"
&gt; LogoutAction="Redirect" LogoutText="Log off" LogoutPageUrl="~/" /&gt;&gt;&lt;/li&gt;
</code></pre>

<p>But its didnt work. How do i get around this problem? I could do it by ajax call to the server, but i want to avoid it if its possible. </p>
