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

Problem in the download link

Thread ID:





128007 Dec 24,2016 11:34 AM UTC Jan 23,2017 05:24 AM UTC JavaScript 4
Tags: ejDateRangePicker
Mohamed Elhamamsy
Asked On December 24, 2016 11:34 AM UTC

I tried to download the (ejdaterangepicker) control as individual file from the following Link  but It seems to be wrong file.

When I used it in my code like your example , It throw an exception

<script type="text/javascript">
        $(function () {
            // declaration

the exception : Uncaught TypeError: $(...).ejDateRangePicker is not a function

And I couldn't find the function (ejDateRangePicker) in the downloaded file when I searched for it.

Mohamed Elhamamsy
Replied On December 24, 2016 01:15 PM UTC

I found also some links with wrong source attribute in the tutorials of this new control (like the edit button in this page). See the attachments for screen shots.

Also when I found the correct ejdaterangepicker JavaScript file , there is a bug in the execution of the library (Line:11)

 typeof define === 'function' && define.amd ? define(["./../common/ej.globalize","./../common/ej.core","./../common/ej.scroller","./ej.datepicker","./ej.timepicker"], fn) : fn();

It throws an exception:  Uncaught TypeError: Cannot read property '__extends' of undefined. 

the Exception is in line 18  as (this) is undefined,
var __extends = this.__extends || function (d, b) {

When I modified the (Line: 11) as following, It worked  properly.

typeof define === 'function' && define.amd ? define(["./../common/ej.globalize", "./../common/ej.core", "./../common/ej.scroller", "./ej.datepicker", "./ej.timepicker"], fn) : fn.call(window);

Attachment: Screenshots_f3068e7c.rar

Sasikala Nagarajan [Syncfusion]
Replied On December 27, 2016 12:31 PM UTC

Hi Mohamed, 

Thanks for contacting Syncfusion support, 

We have checked with reported issue with CSG and resolved the CSG script generating issue now. Please generate the file and check now. If still you are facing any problem let us know we will happy to help you. 

Also we have logged the live edit url not updated properly as  issue in our side. We will refresh the online sample browser links soon. For your convenience we have prepared the sample in jsplayground link. Please check below, 

Sasikala Nagarajan 

Mohamed Elhamamsy
Replied On January 19, 2017 08:15 AM UTC

Thank you.

Sasikala Nagarajan [Syncfusion]
Replied On January 23, 2017 05:24 AM UTC

Hi Mohammed, 
Thanks for the update, Please let us know if you need any further assitence. We will be happy to help you. 
Sasikala Nagarajan 


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