Starts in:
0 DAY
15 HRS
59 MIN
23 SEC
Starts in:
0 D
15 H
59 M
23 S

Activities of "safi"

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.

@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,

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,

Showing 131 to 140 of 286 entries
Made with ❤️ on ABP v9.1.0-preview. Updated on November 20, 2024, 13:06