Can't open dialog with a button

Hello, I've copied the same code there is on sample page (http://mvc.syncfusion.com/demos/web/dialog/modeldialog), but it does not work. When the page start the ModalDialog open, but when I close it, no more open.

I want to use the modal dialog to edit data in a grid, because i new severals customs fields.

My view code is attached

Attachment: DialogModal_8873baf4.zip

1 Reply

AP Arun Palaniyandi Syncfusion Team April 13, 2018 10:13 AM UTC

Hi Fillipe Barbosa,    
    
Thanks for contacting Syncfusion support. 
 
Query1:” Hello, I've copied the same code there is on sample page (http://mvc.syncfusion.com/demos/web/dialog/modeldialog), but it does not work. When the page start the ModalDialog open, but when I close it, no more open. 
 
We have checked your shared code and we are unable to replicate your mentioned issue. We can able to close and again open that Modal dialog with the button. Based on this, we also couldn't proceed with your provided information. So Could you confirm the below details, to check the issue further?     
 
  • Open your console window and check for any console errors and share the issue screenshot or video, if any. 
  • What is you actual requirement? Whether you want to use our Dialog directly or open with in Grid?
  • If possible, please use our sample to reproducible your issue sample to validate from our side?
  • What is the exact Syncfusion version that you are using?
 
Please find the below sample for your reference. 
 
 
Query2:“I want to use the modal dialog to edit data in a grid, because i new severals customs fields. 
 
If you want to use the modal dialog to a edit data in Grid means please find the below demo link and UG link to get more information on how to use the Dialog in Grid editing 
 
 
 
 
Please provide the above asked details so that we can provide a solution as earliest. 
       
Regards, 
Arun P. 



Loader.
Up arrow icon