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?

Hi!

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 08:42 AM UTC

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
 
Regards, 
Pandiyaraj M 



DA Daniel October 2, 2019 03:58 PM UTC

Yes, the sample help me a lot.

Thanks, regards!


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

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.

 
Regards, 
Narayanasamy P. 


Loader.
Live Chat Icon For mobile
Up arrow icon