Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I need a little help here.
On my master template I have a ASP.NET control for logged in users to sign out at any given time:
<form id="Form1" runat="server"> <asp:LoginStatus ID="LoginStatus1" runat="server" LogoutText="sign out" /></form>
On a nested article template I have the UComments form to post a comment:
<form id="Comments" runat="server"><h3>Post a comment</h3><umbraco:Macro RegisterScripts="1" Alias="UCommentForm" runat="server"></umbraco:Macro></form>
As the two forms will not run on the single page I figured the simplest way is to process the logout action on a different page such as the login page. I've looked in this post but am still not sure if this is the right solution.
My login page code looks like this:
<form id="Form1" runat="server"> <asp:Login ID="Login1" runat="server" UserNameLabelText="User" PasswordLabelText="Password" TitleText="" RememberMeText="Remember Me?" LoginButtonText="Sign In" ></asp:Login> </form>
I would be grateful if someone could give me a tip or nudge in the right direction how to configure the site so that both forms work.
Thanks, Eddy
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.
Continue discussion
Logout Problem with multiple ASP.NET Forms
I need a little help here.
On my master template I have a ASP.NET control for logged in users to sign out at any given time:
<form id="Form1" runat="server">
<asp:LoginStatus ID="LoginStatus1" runat="server" LogoutText="sign out" />
</form>
On a nested article template I have the UComments form to post a comment:
<form id="Comments" runat="server">
<h3>Post a comment</h3>
<umbraco:Macro RegisterScripts="1" Alias="UCommentForm" runat="server"></umbraco:Macro>
</form>
As the two forms will not run on the single page I figured the simplest way is to process the logout action on a different page such as the login page. I've looked in this post but am still not sure if this is the right solution.
My login page code looks like this:
<form id="Form1" runat="server">
<asp:Login ID="Login1" runat="server"
UserNameLabelText="User"
PasswordLabelText="Password"
TitleText=""
RememberMeText="Remember Me?"
LoginButtonText="Sign In"
></asp:Login>
</form>
I would be grateful if someone could give me a tip or nudge in the right direction how to configure the site so that both forms work.
Thanks, Eddy
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.