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.


3 Answer(s)
  • User Avatar
    0
    Anjali_Musmade created
    Support Team 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 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.

Made with ❤️ on ABP v9.1.0-preview. Updated on November 11, 2024, 11:11