0
thaithiendi created
Dear support team, I'm using Modal to create an object. I use AbpModalButtons.Save in cshtml and OnPostAsync in cs file. Now: when I save data, Modal auto hide. And have no confirm alert. I want to show yes no confirm Popup and when save successful i don't want to hide modal and keeping data on Modal. Please show me how to do that.
- ABP Framework version: v5.3.3
- UI type: MVC
- DB provider: EF Core
- Tiered (MVC) or Identity Server Separated (Angular): no
- Exception message and stack trace:
- Steps to reproduce the issue:"
2 Answer(s)
-
0
Hi,
You can use
abp.message.confirmfor that as demonstrated in the documentation and you can have a look at it here.Also, there is detailed documentation regarding Modal. You can write your code in the .js file by catching
savebutton and then you can do what you want. I hope this inspires you.Regards.
-
0
Thanks malik.masis