While loading content of dialog using ajax call it is only rendering html part.

Sir/Madam,
I want to load a complete different cshtml page in a modal dialog.
For that i gave ajax as content type and path of page as content url  in dialog defination but it comes with only html part. whatever the external js file included in that page is not executing so full design is not coming. Is there any way so that it executes external js file of that also?

1 Reply

NP Narayanasamy Panneer Selvam Syncfusion Team March 5, 2018 05:37 PM UTC

  
Hi Raj Kumar, 
  
Thank you for contacting syncfusion support. 
  
We have checked your requirement and have prepared a sample. Please find it in the below link: https://plnkr.co/edit/OOO3GfBQxHcw3DGm9uUf?p=preview  
Could you please share more details whether you want to execute “JS” code on loading the content into Dialog? 
Regards, 
Narayanasamy P. 


Loader.
Up arrow icon