We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Is it possible when closing a dialog the dynamic content of this is saved?


I want to know if it is possible when closing a dialog the dynamic content of this is saved.

I have a dialog where the content is loaded with Ajax (this content is from another controller):

This is an example of the content (the idea is to use a form in which when the user closes the dialog box, a POST is made to save the answers):

It's possible?

Thanks, regards!

3 Replies

PM Pandiyaraj Muniyandi Syncfusion Team October 2, 2019 03:42 AM

Hi Daniel, 
Greetings from Syncfusion support. 
Our Dialog component have Close event, by binding this event you can make required action on Dialog close in your application end. We have prepared sample to meet your requirement, get it from below link 
In the above sample we have covered following things 
  • Dialog content loaded from ajax response
  • Close event binded for Dialog component
  • On dialog close we show alert message, here you can define your POST action
Pandiyaraj M 

DA Daniel October 2, 2019 10:58 AM

Yes, the sample help me a lot.

Thanks, regards!

NP Narayanasamy Panneer Selvam Syncfusion Team October 3, 2019 12:18 AM

Hi Daniel, 
Thanks for your update. 
We glad to hear that the provided sample resolved your problem. Kindly let us know if you need further assistance on this.

Narayanasamy P. 

Live Chat Icon For mobile
Up arrow icon