datepicker disappears upon row selection change

2 posts, 0 answers
  1. Frank
    Frank avatar
    95 posts
    Member since:
    Mar 2012

    Posted 17 Nov 2016 Link to this post

    Hi

    I have a mvc view called "index" with a table of rows each with "Edit" button and on the top i have a "Create New" button. 

    On "Edit" button click, I load a partial view with the details of row item. some of the controls are kendo datepickers. 

    if i either click "Save" or "cancel" and then click another "Edit" button everything loads fine. 

    But if i don't cancel or save but simply click on another row, my kendo datepicker controls disappear. I suspect it might be the way i am loading my scripts?! 

    I followed the tutorial and included    

    @Styles.Render("~/Content/kendo/css")
    and     @Scripts.Render("~/bundles/kendo")
    in my layout.cshtml. 

    and triggered my datepicker with class 'datepicker' and script

            $('.datepicker').kendoDatePicker();

    It might not be the problem with datepicker but may be the way load/unload should happen? I appreciate any help. 

    Thanks

  2. Georgi Krustev
    Admin
    Georgi Krustev avatar
    3717 posts

    Posted 21 Nov 2016 Link to this post

    Hello Frank,

    I am afraid that it is not very clear what is current implementation and what is causing the erroneous behavior. Could you provide a runnable demo that demonstrates the issue? This will help to understand the current implementation and find the cause of the problem much faster.

    Regards,
    Georgi Krustev
    Telerik by Progress
    Kendo UI is ready for Visual Studio 2017 RC! Learn more.
Back to Top