Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDevelopment and...Development and...DNN Platform (o...DNN Platform (o...User Login ControlUser Login Control
Previous
 
Next
New Post
8/1/2009 6:24 AM
 

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

 

 
New Post
8/2/2009 3:33 AM
 

Now I have build something like that:

 plhOrderLogin.Visible = True
plhOrderLogin.Controls.Add(LoadControl("~/DesktopModules/AuthenticationServices/DNN/Login.ascx"))

This would be Ok for login, but not for registration as well. The links for "Register" or "Forgot Password ?" were not shown here. Why?

 

 
New Post
8/2/2009 9:51 AM
 


Michael Washington
http://ADefWebserver.com
www.ADefHelpDesk.com
A Free Open Source DotNetNuke Help Desk Module
 
New Post
8/12/2009 6:25 AM
 

Thank you!

 
Previous
 
Next
HomeHomeDevelopment and...Development and...DNN Platform (o...DNN Platform (o...User Login ControlUser Login Control


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out