Kendo Validator won't work in Kendo Window

2 posts, 0 answers
  1. Michael
    Michael avatar
    4 posts
    Member since:
    Oct 2015

    Posted 01 Dec 2015 Link to this post

    In the attached TestApp project I have two files index_works.html and index_broken.html. One where the Kendo Validator works fine in the Kendo Window but only if I moved the <form> tag inside of the Kendo Window control.

     What do I need to do to make it work in the broken one, or is this not possible?



  2. Viktor Tachev
    Viktor Tachev avatar
    2483 posts

    Posted 02 Dec 2015 Link to this post

    Hello Michael,

    Thank you for contacting us.

    When the Window is initialized its content is moved in the DOM just before the closing body tag. Thus, in the index_broken.html file the window content is actually outside the form that is being validated. You can verify this by inspecting the rendered html.

    With this said, in order to validate the content of the window you need to have the form placed inside the window.

    Viktor Tachev
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Back to Top