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.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Object doesn't support property or method 'ejDatePicker' textedit

Thread ID:

Created:

Updated:

Platform:

Replies:

117525 Nov 3,2014 10:52 PM UTC Jan 20,2015 06:12 AM UTC LightSwitch HTML 7
loading
Tags: DateTimePicker
Kevin
Asked On November 3, 2014 10:52 PM UTC

I've installed the html controls, but I'm missing something as when I run the app I get. I've tried looking for some instructions but I couldn't find any installation notes 

TypeError: Object doesn't support property or method 'ejDatePicker'

Gobalakrishnan S [Syncfusion]
Replied On November 4, 2014 03:37 PM UTC

Hi Kevin,

Thanks for using Syncfusion Products.

We suspect that the reported issue (“Object doesn't support property or method 'ejDatePicker' textedit”) might have occurred due to not referring the script files properly. Refer the scripts and css files as shown below.

  

<!--Dependent CSS for Essential JavaScript Components-->

    <link rel='nofollow' href="Content/ej/default-theme/ej.web.all.min.css" rel="stylesheet" />

 

<!--Dependent Scripts for Essential JavaScript Components-->

 

    <script src="Scripts/jquery-1.10.2.min.js"></script>

 

    <script src="Scripts/jquery.easing.1.3.js"></script>

 

    <script src="Scripts/jquery.globalize.min.js"></script>

 

    <script src="Scripts/jquery.globalize.cultures.min.js"></script>

 

    <script src="Scripts/ej/ej.web.all.min.js"></script>

 

 

We have attached a documentation which is in review phase. The documentation can be downloaded from the following location

Document link: http://www.syncfusion.com/uploads/user/directTrac/127572/LightSwitch-Document-647654255.zip

In the above documentation we have explained how to use our components in LightSwitch HTML. You can find the details regarding the scripts and theme reference in the documentation.

If still you face any problems in using our components, please get back to us we will assist you gladly.

Regards,

GobalaKrishnan S


K Kalai Selvi [Syncfusion]
Replied On November 5, 2014 04:03 AM UTC

From: Kevin Bates [mailto:KBates@wn1-it.com]
Sent: Tuesday, November 04, 2014 7:35 PM
To: Syncfusion Support
Subject: Re: Syncfusion support community forum 117525, Object doesn't support property or method 'ejDatePicker' textedit, has been updated.

 

Thanks, but the files are not in scripts folder

 

Sent from Surface


Gobalakrishnan S [Syncfusion]
Replied On November 5, 2014 01:44 PM UTC

Hi Kevin,

We suspect that the dependent essential JavaScript scripts and CSS reference are not loaded in LightSwitch HTML Application. You may not include the needed scripts and CSS reference in the respective folder.

Since currently we are providing only the extension support to render the control in LightSwitch HTML Application, we have to manually include the above [Previous Response] dependent scripts and CSS to LightSwitch Application and refer that scripts and CSS files on the default.html page present in the Client folder of the project.

We can find all dependent scripts and CSS files from the following location, If you installed Essential JavaScript otherwise refer the below CDN link.

 

<!-- style sheet for default theme(flat azure) -->

    <link rel='nofollow' href="http://cdn.syncfusion.com/js/web/flat-azure/ej.web.all-latest.min.css" rel="stylesheet" />

 

    <!--scripts-->

    <script src="http://code.jquery.com/jquery-1.10.2.min.js"></script>

 

    <script src="http://ajax.aspnetcdn.com/ajax/globalize/0.1.1/globalize.min.js"></script>

 

    <script src="http://cdnjs.cloudflare.com/ajax/libs/jquery-easing/1.3/jquery.easing.min.js"></script>

 

    <script src="http://cdn.syncfusion.com/js/web/ej.web.all-latest.min.js"></script>

 

 

JavaScript Installed location:

%localappdata%\Syncfusion\EssentialStudio\12.3.0.36\JavaScript\assets.

Also we would like to let you know that, we have planned to provide the Nuget package for the LightSwitch Application. So that it will reduce the manual work of including the CSS and Scripts in application. We have already logged this (“Nuget Package support”) as a feature request in our database.

Please include the required files in and try, if still you face any problems, please get back to us we will be happy to assist you.

Regards,

Gobalakrishnan S


ray
Replied On January 14, 2015 12:49 AM UTC

I am also seeing TypeError: Object doesn't support property or method 'ejDatePicker' after following the getting started example. I have copied the necessary script files and css to their respective locations based on the documentation. Is there something more I can check or provide to receive some additional assistance with this error?


Sasikala Nagarajan [Syncfusion]
Replied On January 19, 2015 11:59 AM UTC

Hi Ray,

Sorry for the inconvenience caused,

We are unable to reproduce the reported issue in our side. Once we referred the script and CSS files correctly in default.html page, the controls renders properly.

For your convenience we have prepared the simple sample in light switch application and attached that sample here for your reference. Sample can be download from below location.

Sample

Please check the given sample by comparing with your project and let us know if it helps. If still you are facing the problem, please revert us with replication procedure. So that we can check our controls functionality and provide you with a better solution.

Regards,

Sasikala Nagarajan



ray
Replied On January 19, 2015 05:11 PM UTC

Thank you for the response. I have identified the issue by comparing with the sample you provided. I had the .js files in the head tag instead of the body. Once moved into the body the control rendered correctly. Thank you again.



Sasikala Nagarajan [Syncfusion]
Replied On January 20, 2015 06:12 AM UTC

Hi Ray,
Thanks for the update.
Please get in touch with us if you would require any further assistance.

Regards,

Sasikala Nagarajan



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

;