Error When the data type of the id and parentId to String

3 posts, 1 answers
  1. Ikou
    Ikou avatar
    12 posts
    Member since:
    Aug 2015

    Posted 13 Oct 2015 Link to this post

    Hello, 

     http://dojo.telerik.com/alifO/25

    If the id and parentId of model and String as this sample, it is impossible task added when the Add Task and Add Child.
    If you look at the console log it seems to have become in [Maximum call stack size exceeded].
    Is it should be How to deal with id and parentId as String?

  2. Answer
    Bozhidar
    Admin
    Bozhidar avatar
    1102 posts

    Posted 14 Oct 2015 Link to this post

    Hi,

    Since you are using guid-s for the id fields, you have to provide a default value for the ID field. Here's the modified dojo sample, in which a new guid is added as a default value:
    http://dojo.telerik.com/alifO/27

    Regards,
    Bozhidar
    Telerik
     
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
     
  3. Kendo UI is VS 2017 Ready
  4. Ikou
    Ikou avatar
    12 posts
    Member since:
    Aug 2015

    Posted 19 Oct 2015 in reply to Bozhidar Link to this post

    It went well in your favor. Thanks!

Back to Top