Hi.
We have customized an AuthenticationServices extension for our own purposes (to communicate with a webservice). Now I am wondering, how to get this control embedded into my main user control.
I want to to something like that:
<asp:RadioButtonList ID="rblOrderLogonOrRegister" runat="server" AutoPostBack="true">
<asp:ListItem ID="rbOrderLogon" runat="server" resourcekey="rbOrderLogon" value="rbOrderLogon" Selected="True" />
<asp:ListItem ID="rbOrderRegister" runat="server" resourcekey="rbOrderRegister" value="rbOrderRegister" />
</asp:RadioButtonList><br />
If the user selects "rbOrderLogon" (which is default), there should be shown parts (username, password, password reset) of my login page. Thisfore I would like to set up a <asp:placeholder> in which the form controls of the login page resist.
Otherwise, if user is new, I want to embed a register control within my user control.
Alternatetively: When I redirect to die login page via
Response.Redirect(NavigateURL(PortalSettings.LoginTabId, True, PortalSettings, "Login", "returnurl=" & Server.UrlEncode(Request.Url.ToString)))
this would be also functional, but after logged in, I would not be redirected at the same place of my user control, where I came from.
I found a lot of methods in forums and documentations, but I am not shure, which is the best solution for my requirements. It´s like a cart checkout process in a webshop, but not as complicated, login should not interrupt all session data at all.
Thanks for help.
Bye Thomas