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
$("#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.
SIGN IN To post a reply.
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.
When I modified the (Line: 11) as following, It worked properly.
Attachment: Screenshots_f3068e7c.rar
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();
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,
Regards,
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.
Regards,
Sasikala Nagarajan
SIGN IN To post a reply.
- 4 Replies
- 2 Participants
-
ME Mohamed Elhamamsy
- Dec 24, 2016 11:34 AM UTC
- Jan 23, 2017 05:24 AM UTC