Open Closed

Redirect to another page instead of popup form using Angular #6227


User avatar
0
smwasimraja@gmail.com created

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.

Markdown supported.
Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)

3 Answer(s)
  • User Avatar
    0
    Anjali_Musmade created
    Support Team Member

    Hello,

    To navigate from one page to another, you can use the below command

    window.location.href = './newpage';
    
    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    yushafizal created

    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.

    Refer

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    smwasimraja@gmail.com created

    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.

    Refer

    Thanks yushafizalyusri@gmail.com

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.8.0-preview. Updated on September 16, 2026, 07:12
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.