Uncaught RangeError: Maximum call stack size exceeded

4 posts, 0 answers
  1. Gary
    Gary avatar
    62 posts
    Member since:
    Sep 2013

    Posted 08 May 2014 Link to this post

    I am running into some kind of deep recursion issue within the kendo library when trying to add a group shape to the layout.

    I have simplified my code down to a very basic example in Dojo that still reproduces the problem:

    http://trykendoui.telerik.com/iSIK

    Thanks,
    Gary

  2. Hristo Germanov
    Admin
    Hristo Germanov avatar
    703 posts

    Posted 09 May 2014 Link to this post

    Hello Gary,

    Add a group for a diagram shape element is not supported. Can you examine our online documentation for more information about diagram.addShape().

    "A Shape instance or a Point where the default shape type will be added."

    But the diagram methods should not trigger javascript error and I will try to fix this issue for the next official release of Kendo UI.

    I have updated your points.

    Regards,
    Hristo Germanov
    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. Gary
    Gary avatar
    62 posts
    Member since:
    Sep 2013

    Posted 02 Jun 2014 in reply to Hristo Germanov Link to this post

    So, how does one go about adding a shape to a diagram whereby the shape includes a Rectangle and a TextBlock? 

  5. Hristo Germanov
    Admin
    Hristo Germanov avatar
    703 posts

    Posted 04 Jun 2014 Link to this post

    Hello Gary,

    In this case you need to add a function for shape visual. In this function you can create a group with diagram elements in it.

    You can examine my example: http://trykendoui.telerik.com/@germanov/aYoL

    Regards,
    Hristo Germanov
    Telerik
     
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
     
Back to Top
Kendo UI is VS 2017 Ready