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.

Error Cannot read property 'promise' of null

Thread ID:

Created:

Updated:

Platform:

Replies:

121409 Dec 10,2015 04:00 PM Feb 12,2017 11:38 PM ASP.NET Web Forms 3
loading
Tags: Grid
Roimer Machacón Otero
Asked On December 10, 2015 04:00 PM

Hi we're using grid and when i've the grid in edit mode normal appear this error "Cannot read property 'promise' of null". We've the 12.2.0.36 version of syncfusion.

What can the cause for this error?

Gowthami V [Syncfusion]
Replied On December 11, 2015 05:07 AM

Hi Roimer,

Thanks for using Syncfusion products.

We have analyzed your issue and we are unable to reproduce the issue.

We have created a sample with editing enabled and the same can be downloaded from the following link,

http://www.syncfusion.com/downloads/support/directtrac/general/ze/Sample-1276079486.zip

Please provide the below details to reproduce the issue,

1.       Reproduce the reported issue in the above sample.

2.       In which scenario you have faced the error like while adding, editing or saving record.

3.       Replication procedure to reproduce the issue.

The provided information will help to analyze the issue and provide you the response as early as possible.

Regards,

Gowthami V.


Jonas de Abreu Resenes
Replied On February 11, 2017 03:51 PM

I am having the same issue using when I try to save an appointment in the ejschedule.

files reference:

<meta name="viewport" charset="utf-8" content="width=device-width, initial-scale=1.0" />
    <link rel='nofollow' href="content/bootstrap.min.css" rel="stylesheet" />
    <link rel='nofollow' href="content/ejthemes/default-theme/ej.web.all.min.css" rel="stylesheet" />
    <link rel='nofollow' href="content/default.css" rel="stylesheet" />
    <link rel='nofollow' href="content/default-responsive.css" rel="stylesheet" />
    <link rel='nofollow' href="content/ejthemes/responsive-css/ej.responsive.css" rel="stylesheet" />
    <link rel='nofollow' href="content/ejthemes/responsive-css/ejgrid.responsive.css" rel="stylesheet" />
    <!-- Fix jQuery Reference  -->
    <script>if (typeof module === 'object') { window.module = module; module = undefined; }</script>
    <!--[if lt IE 9]>
    <script type="text/javascript" src="../scripts/jquery-1.11.3.min.js" ></script>
    <![endif]-->
    <!--[if gte IE 9]><!-->
    <script type="text/javascript" src="scripts/jquery-3.1.1.min.js"></script>
    <!--<![endif]-->
    <script src="scripts/jsondata.min.js"></script>
    <script src="scripts/jsrender.min.js"></script>
    <script src="scripts/ej.web.all.min.js" type="text/javascript"></script>
    <script src="scripts/properties.js" type="text/javascript"></script>
    <script src="scripts/jsonscheduledata.js" type="text/javascript"></script>
    <script src="scripts/jsonkanbandata.js"></script>
    <!-- Fix jQuery Reference  -->
    <script>if (window.module) module = window.module;</script>

code:

var scheduleObj = $("#schedule").data("ejSchedule");

var obj = {
                        Id: 108,
                        Subject: "Talk",
                        StartTime: StartTime,
                        EndTime: EndTime,
                        AllDay: $(e.target).hasClass("e-alldaycells") ? true : false,
                        Recurrence: false,
                        RecurrenceRule: null,
                        StartTimeZone: "UTC +00:00",
                        EndTimeZone: "UTC +00:00",
                        Promise: 1
                    };

                    // Appointment object saving to the schedule control
                    scheduleObj.saveAppointment(obj); -- the error happens here

cannot read property 'promise' of null

Ranjani Prabhakaran [Syncfusion]
Replied On February 12, 2017 11:38 PM

Hi Jonas, 

We noticed that you have created forum 128832 for the same content. Please follow-up with the F128832 for further assistance. 

Regards, 
Ranjani 


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.

;