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. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Render after loading page

Thread ID:





144986 May 31,2019 07:04 AM UTC Jun 3,2019 11:44 AM UTC ASP.NET MVC - EJ 2 1
Tags: DatePicker
Asked On May 31, 2019 07:04 AM UTC

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%">

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) {

But it does not render SF control. It shows just simple input box.

Ashokkumar Balasubramanian [Syncfusion]
Replied On June 3, 2019 11:44 AM UTC

Hi Libor, 
Greetings from Syncfusion support. 
If you want to render our Syncfsion component in MVC(Razor) syntax, we should use Script Manger in Layout page, because Script Manager will play major roll for creating and append the corresponding component into DOM element. For your reference, we have used your provided code block and ScriptManager to create the sample. Could you please check it in below location? 
To know more details about rendering our component in MVC platform, please refer the below help document. 
Please check the sample and get back to us, if you require any further assistance. 
Ashokkumar B. 


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