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

Problem in the download link

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.

4 Replies

ME Mohamed Elhamamsy 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

SN Sasikala Nagarajan Syncfusion Team 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 

ME Mohamed Elhamamsy January 19, 2017 08:15 AM UTC

Thank you.

SN Sasikala Nagarajan Syncfusion Team 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 

Live Chat Icon For mobile
Up arrow icon