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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

CustomControl error: i.ejDatePicker is not a function.

Thread ID:

Created:

Updated:

Platform:

Replies:

124705 Jun 23,2016 03:45 PM UTC Jun 27,2016 09:03 AM UTC LightSwitch HTML 3
loading
Tags: DateTimePicker
Creed Cordonier
Asked On June 23, 2016 03:45 PM UTC

Hello,

First, I would like to that you for a wonderful product.

Second, I am using the EJ Value Control - Date Picker in my Lightswitch HTML 2013 project.

This extension works beautifully in debug mode. When I run my project in Visual Studio, it works as desired.

After I publish the project and view it in a web browser, I get the following error in Chrome:

"CustomControl error: DtRepairStart_render() method error: Type error: i.ejDatePicker is not a method."

I am confused why this works in debug but does not work when published.

Any advice is much appreciated. Thank you!!

Francis Paul Antony Raj [Syncfusion]
Replied On June 24, 2016 09:52 AM UTC

Hi Creed, 
 
Thanks for contacting Syncfusion support. 
 
The observed script error can be caused by following three things: 
 
               The Syncfuison scripts are not registered successfully on the page.  
               The Syncfusion scripts are registered too late or the widgets' initialization statements are called too early. This is more unlikely to occur.  
               There is a second jQuery instance registered on the page after the Syncfusion scripts referred. We suspect that, this is the root cause of your issue. Please remove the second occurrence of jQuery script file in your application, if it is referred. 
 
Please try with the above mentioned cases, if the issue still exists, please share the following details. 
1) CDN link if any used in your sample. 
2) Browser details (with version). 
3) Kindly check whether ‘ej.web.all.min.js’ has loaded properly in your web page by inspecting with developer tool of browser. If not, please share the issue reproducing sample, which helps us to identify and resolve the issue as soon as possible. 
 
Regards,  
Francis Paul A 


Creed Cordonier
Replied On June 24, 2016 12:45 PM UTC

Hello. I resolved this issue by downloading and comparing the Sample of the same project. Thank you!

Francis Paul Antony Raj [Syncfusion]
Replied On June 27, 2016 09:03 AM UTC

Hi Creed, 
 
We are glad to know that issue has been resolved at your end. 
Please let us know if you need any further assistance. 
 
Regards, 
Francis Paul A 


CONFIRMATION

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.

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

;