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. (Last updated on: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

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

Thread ID:

Created:

Updated:

Platform:

Replies:

148007 Oct 1,2019 08:01 PM UTC Oct 3,2019 05:18 AM UTC ASP.NET MVC - EJ 2 3
loading
Tags: Dialog
Daniel
Asked On October 1, 2019 08:01 PM UTC

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!



Pandiyaraj Muniyandi [Syncfusion]
Replied On 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 


Daniel
Replied On October 2, 2019 03:58 PM UTC

Yes, the sample help me a lot.

Thanks, regards!

Narayanasamy Panneer Selvam [Syncfusion]
Replied On 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. 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon