@if (Model.Type == "register")
{
<div>....</div>
}else{
<div>....</div>
}Thanks for the reply do I need to add registration.cshtml page code to the custom login page if yes then on the same page can't add two models right?
I have account pro code so what needs to do to show the registration form. Please let me know.
Thanks,
This is my login.cshtml page and myregistermodel
Login.cshtml.cs page code but the problem is if I click on registration button I am not getting value in Type variable
@if (Model.Type == "register") { <div>....</div> }else{ <div>....</div> }
Thanks for the reply do I need to add registration.cshtml page code to the custom login page if yes then on the same page can't add two models right?
I have account pro code so what needs to do to show the registration form. Please let me know.
Thanks,
Hi
I have a customized login page and I want to prevent registration page redirection like want to show the registration page on the login page so what will happen If I click on the registration button so it should hide the login fields and show registration form fields before redirecting to the registration page.
Thanks,
Hi
I want to remove this highlighted line from the manage profile page so can you please guide me on how can I do this.
Thanks,
my-second-page
Hi
In my application two roles are present and I want to show this page to admin role only so how can I manage this.
This is a custom logic and not related to ABP. You can write a middleware or use some other approaches.
okay can u please let me know how can I hide or delete this line
my-second-page
Hi
In my application two roles are present and I want to show this page to admin role only so how can I manage this.
Hi,
Find the
<YourProject>BrandingProvider
[Dependency(ReplaceServices = true)] public class MyProjectNameBrandingProvider : DefaultBrandingProvider { public override string LogoUrl => ""; public override string LogoReverseUrl => ""; public override string AppName => ....; }
Hi
Can you please check this https://support.abp.io/QA/Questions/2901/How-can-I-set-a-landing-page-for-admin-in-Abp-io
Hi
I tried this solution @page "/" and use this line to call my page @page "/daily-round-tables" but after that getting error in the console. It's not working can you please help me in this.
Thanks,