Issue with Gantt inside TabStrip item (MVC C#)

2 posts, 0 answers
  1. Ocean Software
    Ocean Software avatar
    3 posts
    Member since:
    Aug 2013

    Posted 18 Aug 2014 Link to this post

    Hi,

    When I insert Gantt element into TabStrip item, my left part (treelist) appears to be much less in height than the right one (timeline). I can more or less live with that by adjusting the height via JavaScript event handler of DataBound event.

    However, when Gantt element is inserted into the TabStrip item, which is NOT the active one (so it does not appear immediately when the page navigated), then all diamond markers are squashed to the left margin of timeline and the height of both parts (timeline and treelist) get significantly reduced.

    Please note, that there is no other element, except of Gantt, on that TabStrip item.

    Could you please advise?
  2. Alex Gyoshev
    Admin
    Alex Gyoshev avatar
    2500 posts

    Posted 19 Aug 2014 Link to this post

    Hello,

    In order for the Gantt to change its size correctly, you need to call kendo.resize once its tab has been activated, as described in this SO post.

    Regards,
    Alex Gyoshev
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
  3. UI for ASP.NET MVC is VS 2017 Ready
Back to Top