I am not able to close the event popup after one appointment event creation

6 posts, 0 answers
  1. Nayeem
    Nayeem avatar
    5 posts
    Member since:
    Oct 2013

    Posted 24 Oct 2013 Link to this post

    Hello Team,

    I am not able to close the event popup after I successfully create an event from KendoUI Scheduler.
    Below is the error which I am able to see in firebug :

    TypeError: e is undefined

    Please guide... how to resolve this.
  2. Vladimir Iliev
    Admin
    Vladimir Iliev avatar
    2200 posts

    Posted 25 Oct 2013 Link to this post

    Hi,

    I tried to reproduce the problem locally with the Edit event but to no avail – everything is working as expected on our side. Could you please provide runable project where the issue is reproduced? This would help us pinpoint the exact reason for this behavior.

    Regards,
    Vladimir Iliev
    Telerik
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
  3. Christian
    Christian avatar
    4 posts
    Member since:
    Dec 2016

    Posted 21 Jan 2018 Link to this post

    Hi there,

    I experienced the same issue here: TypeError: e is undefined. Is there a solution yet for this problem?

     

    The following are the steps we did to reproduce the problem:

    1. Scheduler month view

    2. Click one of the cell and filled the start and end date (same date for both fields)

    3. Click the save button. (At this point, before clicking the save button, the cancel button and close button of the dialog box worked normally).

    4. Click the other cell to make another allocation (same date for start and end date fields)

    5. Click the close button or cancel button, and the console log would produce this error: TypeError: e is undefined  (The save button was function as normal).

     

    We noticed that the error is originated from the following part of Kendo JS code:

     function C(e, t) {
                return t ? A(e, function(e) {               
                    return e.uid && e.uid == t.uid || e[t.idField] === t.id && t.id !== t._defaultId
                }) : -1
            }

    Strangely, when the close and cancel button worked normally, this part of the code wasn't ran at all. We checked it by implementing a console.log() inside the function of above code.

     

    Inside our custom js file (version 2017.3.1026), for the scheduler we only pick the following:

    - Scheduler Month View

    - Scheduler adaptive  rendering

    - Timezones

     

    For the implementation we use the MVC form of the component, with the following code:

    @(Html.Kendo().Scheduler<RequestDateViewModel>()
            .Name("scheduler")
            .Views(views => { views.MonthView(monthView => monthView.Selected(true)); })
        )

     

    Hope these information are sufficient for you...

    Thanks for your help.

     

    Regards,

     

    Christian H. E.

  4. Neli
    Admin
    Neli avatar
    288 posts

    Posted 23 Jan 2018 Link to this post

    Hi Christian,

    I have tested locally in MVC project with both versions - our latest 2018.1.117 and 2017.3.1026, but I did not manage to reproduce the issue.
    The behavior at my end is demonstrated in the linked below screencasts. 
    (screencast version 2018.1.117)
    (screencast version 2017.3.1026)

    Could you please modify the linked Dojo example or the attached sample project in order to replicate the issue. This way we run it locally and assist you further.

    Regards,
    Neli
    Progress Telerik
    Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
  5. Christian
    Christian avatar
    4 posts
    Member since:
    Dec 2016

    Posted 23 Jan 2018 in reply to Neli Link to this post

    Hi Neli,

    Thanks for the reply. One thing that we just found is that this happen if our scheduler element is loaded into a dialog box type component through Ajax.

    We did try to load the scheduler into the page without Ajax (e.g. load it into the page on page load) and it works fine. However we still need this to be work through Ajax due to our UI requirement.

    Perhaps this can help you replicate the issue.

     

    Cheers,

     

    Christian H. E.

  6. Ianko
    Admin
    Ianko avatar
    1938 posts

    Posted 25 Jan 2018 Link to this post

    Hello Christian,

    Loading the Scheduler through AJAX can be implemented with more that one way and every one approach is quite specific. Can you please provide a simple, locally runnable project that shows the difficulties you encounter so that we can examine it? 

    If you are unable to provide a project in a public forum thread, you can consider opening a support ticket and attach the project to your message so that we can take a look at it.

    Regards,
    Ianko
    Progress Telerik
    Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Back to Top