This is a migrated thread and some comments may be shown as answers.

Issue with Gantt inside TabStrip item (MVC C#)

1 Answer 28 Views
Gantt
This is a migrated thread and some comments may be shown as answers.
Ocean Software
Top achievements
Rank 1
Ocean Software asked on 18 Aug 2014, 07:41 AM
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?

1 Answer, 1 is accepted

Sort by
0
Alex Gyoshev
Telerik team
answered on 19 Aug 2014, 12:36 PM
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.

 
Tags
Gantt
Asked by
Ocean Software
Top achievements
Rank 1
Answers by
Alex Gyoshev
Telerik team
Share this question
or