I cannot use @Html.EJS().ScriptManager() because my page is generated by javascript.
Simple example of SF control:
<div id="target" class="col-lg-12 control-section" style="height:100%">
@Html.EJS().DatePicker("MyFirstDatepicker").Render()
</div>
In my Layout I should put something like this - based on event Page.Loaded:
<script type="text/javascript">
$(window).one("Page.Loaded", function (e, DataTableObject) {
//alert($('#target')[0].innerHTML);
$.fn.sfEvalScripts($('#target')[0].innerHTML);
});
</script>
But it does not render SF control. It shows just simple input box.