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

Error: Cannot read property 'form' of undefined

Thread ID:

Created:

Updated:

Platform:

Replies:

120165 Sep 7,2015 03:28 PM UTC Sep 24,2015 09:44 AM UTC ASP.NET MVC 3
loading
Tags: Gantt
pedro
Asked On September 7, 2015 03:28 PM UTC

hi,

I am adding new task in the gantt, but when i click on the "save" button, the following error occurred: Cannot read property 'form' of undefined.
I did javascript  debug and the first time  invoke the method "editFormValidate", I think it should call method "addFormValidate"

Is there a way to fix this?

regards,

Pedro Z.

Mahalakshmi Karthikeyan [Syncfusion]
Replied On September 8, 2015 08:31 AM UTC

Hi Pedro,

Thanks for contacting Syncfusion support.

We could not reproduce any issue while adding new task in Gantt control. It is possible to add a new task via dialog and the newly added task will be added below to the selected task. 

Please find the sample from the following location to add a new task in Gantt:

Sample: http://www.syncfusion.com/downloads/support/forum/120165/ze/GanttSample-42696273

Please share the Essential studio version you are using. If you still face any issue then please get back to us by modifying this sample along with the replication procedure to reproduce it.

Regards,

Mahalakashmi K.


pedro
Replied On September 21, 2015 05:42 PM UTC

Hi Pedro,

Thanks for contacting Syncfusion support.

We could not reproduce any issue while adding new task in Gantt control. It is possible to add a new task via dialog and the newly added task will be added below to the selected task. 

Please find the sample from the following location to add a new task in Gantt:

Sample: http://www.syncfusion.com/downloads/support/forum/120165/ze/GanttSample-42696273

Please share the Essential studio version you are using. If you still face any issue then please get back to us by modifying this sample along with the replication procedure to reproduce it.

Regards,

Mahalakashmi K.


Hi Mahalakashmi K,


 The "Cannot read property 'form' of undefined" error occurs when I add the script "jquery.validate.min.js".

for example:


    <script src="@Url.Content("~/Content/js/jquery-1.11.3.min.js")"></script>

    <script src="@Url.Content("~/Content/js/jquery.easing.1.3.min.js")"></script>

    <script src="@Url.Content("~/Content/js/jquery.globalize.min.js")"></script>

    <script src="@Url.Content("~/Content/js/jsrender.min.js")"></script>

    <script src="@Url.Content("~/Content/js/ej.web.all.min.js")"></script>

    <script src="@Url.Content("~/Content/js/ej.unobtrusive.min.js")"></script>

     ....

   <script src="@Url.Content("~/Content/js/jquery.validate.min.js")" type="text/javascript"></script>


Is there a way to fix this?


regards,


Pedro Z.




John Rajaram [Syncfusion]
Replied On September 24, 2015 09:44 AM UTC

Hi Pedro,

We regret for the inconvenience caused.

We were able to reproduce the issue in validating the add form of Gantt and we have confirmed this as bug and logged a report on this. Also we have created a support incident under your account to track the status of this issue.

Please log on to our support website to check for further updates.
https://www.syncfusion.com/account/login?ReturnUrl=%2fsupport%2fdirecttrac%2fincidents

Please let us know if you require further assistance on this.
Regards,

John R


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.

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

;