Adding MembershipRequestWebPart.webpart to CustomLogin-Page


Hey Guys
I'm completley new in working with SharePoint and not a big expert in web-design.
I installed SharePoint 2013 and use it in mixed auth mode.
I followed the instructions for setting up the FBA-pack and everything works fine with manually added fba-users.
Then I added a custom-login-page and I can login with AD-user and fba. No Problem until now.

Now I want to implement the MembershipRequest.webpart to make it possible for new user to get an account. How do I have to implement this on my custom-login-page (code lines??)
Or more generally, how to I add Webparts to the SharePoint-sites?

Thx for your answers

Unable to open the FBA Password Recovery and password recovery web part from custom login page
If you want to add a web part on an application page, you can add it to the ASPX just like you would a standard control. Here's an example of how I do it for custom login pages:

first you need a register directive to the assembly that contains the control:
<%@ Register TagPrefix="FBA" Namespace="Visigo.Sharepoint.FormsBasedAuthentication"
    Assembly="Visigo.Sharepoint.FormsBasedAuthentication, Version=, Culture=neutral, PublicKeyToken=9dba9f460226d31d" %>
And then in the body you can just reference the control itself:
    <FBA:MembershipRequestWebPart frametype="None" chrometype="None" id="PasswordWebPart" runat="server" 
        groupName="FBA Users"
        HipErrorMessage="<br>The characters do not match the picture"

Thank you very much. This works like a charm. Very nice and useful!!