Open Closed

pop-up window close event #6809


User avatar
0
shobhit created
  • ABP Framework version: v4.2.2

  • UI Type: Angular

  • Database System: EF Core (SQL Server, Oracle, MySQL, PostgreSQL, etc..)

  • Tiered (for MVC) or Auth Server Separated (for Angular): yes

  • Exception message and full stack trace:

  • Steps to reproduce the issue:

Hi Team,
We have to implement custom logic in the ABP form where on the close of the pop-up form (top right corner X button) we should ask user if user has to save the data (yes/no). if yes then call the custom logic, if no then exit.
we are using <abp-model> for showing the pop-up window.

image.png


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

    Hello ,

    It is possible, you have to customize abp modal at you own side.
    just like Click here

    Thank you.

  • User Avatar
    0
    shobhit created

    how we can customize the abp modal? can you share sample as i am not sure how to drive code out of video

  • User Avatar
    0
    Anjali_Musmade created
    Support Team Member

    Hello,

    You can customize < abp-modal >as per you requirement in html file.
    Please check this source code Click here

    Thank you.

Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
Do you need assistance from an ABP expert?
Schedule a Meeting
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v9.3.0-preview. Updated on April 11, 2025, 10:10