Appreciate if anyone provide angular sample codes for redirecting to new page instead of popup. For e.g. when I click "Add New", ABP opens up popup window, but I need to redirect to new page where I will have more options while adding new entity.
- ABP Framework version: v7.4
- UI Type: Angular
Thanks for the support.
3 Answer(s)
-
0
Hello,
To navigate from one page to another, you can use the below command
window.location.href = './newpage';
-
0
Hi, you can use Angular Routerlink to navigate to another page.
To create:
<a [routerLink]="['/user/create']"> link to create user component </a>
To edit:
<a [routerLink]="['/user/edit']" [queryParams]="{id: yourId}"> link to edit user component </a>
Make sure to declare your routes.
-
0
Hi, you can use Angular Routerlink to navigate to another page.
To create:
<a [routerLink]="['/user/create']"> link to create user component </a>
To edit:
<a [routerLink]="['/user/edit']" [queryParams]="{id: yourId}"> link to edit user component </a>
Make sure to declare your routes.
Thanks yushafizalyusri@gmail.com