Hi Julio,
We have achieved your requirement “create the Control in the client-side and then execute it in the server-side (show dialog)” and please find the sample under the following location,
Sample: Sample
In this above sample, we have created the wrapper for dialog control in view page and set the property “showOnInit” as false via codebehind.Initially it doesn’t shows the dialog.Please find the wrapper code,
<code>
@{Html.EJ().Dialog("basicDialog",Model).Render();}
</code>
In the button click event, we have enabled this property in the controller as shown below code.Now the dialog control get displays.
<code>
public ActionResult Index(string basicDialog)
{
Syncfusion.JavaScript.Models.DialogProperties dia = new Syncfusion.JavaScript.Models.DialogProperties();
dia.ShowOnInit = true;
return View(dia);
}
</code>
Please let us know if you have any further assistance,
Regards,
Kasithangam