Activities of "safi"

Try:

<form method="post" action="@Url.Page("./Register", new { returnUrl = Model.ReturnUrl, returnUrlHash = Model.ReturnUrlHash })">

Replace with

<form method="post" asp-page="/account/register">

Yes thanks it's working but after registration it's going to swagger link.

Hi,

You can change the layout.

@{ 
    Layout = ThemeManager.CurrentTheme.GetApplicationLayout(); 
} 

yes, thanks for the reply it's working but can we show a layout like this.

Current layout :

Needed layout

Hi

I want to show the account layout UI on the login screen. I am using commercial abp blazor io project and the login screen comes with no theme only login forms come so can we show the layout here same as we show after login but before login, we will hide all menus.

  • ABP Framework version: v4.43
  • UI type: Blazor
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): no
  • Exception message and stack trace:
  • Steps to reproduce the issue:"

shiwei.liang@volosoft.com

Hi

I can't share the full project so I shared working files with you in the mail can you please check and revert.

Thanks,

Try:

Since you want to implement registration and login functionality on one page, you know, some parameters are required for registering but not login, so you must manually validate the parameters.

Remove ValidateModel(); and manually validate the parameters

Yes I removed and login functionality is working fine but registration is not working I am using the below code

Can you please help me so that I can close this.

Thanks,

Please reply!

Try:

Since you want to implement registration and login functionality on one page, you know, some parameters are required for registering but not login, so you must manually validate the parameters.

Remove ValidateModel(); and manually validate the parameters

Yes I removed and login functionality is working fine but registration is not working I am using the below code

Can you please help me so that I can close this.

Thanks,

Hi

On login button click getting below error

Hi,

I think you have the source code, you just need to copy it to the login page

yes I have and If I am pasting this code into login page then getting this error

I added the registration form code but was not able to register the user.

Hi,

I think you have the source code, you just need to copy it to the login page

yes I have and If I am pasting this code into login page then getting this error

[BindProperty(SupportsGet = true)] public string Type {get; set;}

how can I add a registration form to the login page? I added the if-else condition but don't know-how will add the registration form code.

Showing 141 to 150 of 347 entries
Made with ❤️ on ABP v9.1.0-preview. Updated on November 11, 2024, 11:11