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.

Problem in the download link

Thread ID:

Created:

Updated:

Platform:

Replies:

128007 Dec 24,2016 06:34 AM Jan 23,2017 12:24 AM JavaScript 4
loading
Tags: ejDateRangePicker
Mohamed Elhamamsy
Asked On December 24, 2016 06:34 AM

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
            $("#daterangepick").ejDateRangePicker({width:"100%"});
        });
    </script>

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 08:15 AM

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 07:31 AM

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, 



 
Regards, 
 
Sasikala Nagarajan 
 


Mohamed Elhamamsy
Replied On January 19, 2017 03:15 AM

Thank you.

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

Hi Mohammed, 
Thanks for the update, Please let us know if you need any further assitence. We will be happy to help you. 
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.

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.

;