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

TabStrip content pane keeps initial height after resizing

2 Answers 125 Views
TabStrip
This is a migrated thread and some comments may be shown as answers.
Frank
Top achievements
Rank 1
Frank asked on 11 Mar 2013, 02:26 PM
Hi,

I have an issue with TabStrip content pane which seems to keep initial height or the height set after the first resize operation. I tried a couple of solution found on the forums and i did my own but it still has the same issue. The solution available on http://jsfiddle.net/dimodi/8etzB/ has the same problem. To see it please do the following: 1- resize once and go to next tab (this part is working nice), 2-now resize second time and go to other tab. Other tab will be activate with previous height. Now back to the tab which was active during second resize. The height of this tab will be back to previous height.
I am not sure but it seems that tabstrip keeps somewhere the height of the first resize and then overwrites the value i set on resize event.
I need tab strip content height to be set to available height after each resize.

Thanks,

2 Answers, 1 is accepted

Sort by
0
Accepted
Dimo
Telerik team
answered on 12 Mar 2013, 09:19 AM
Hi Frank,

You can simply execute the resizing routine in the TabStrip's activate event, with a timeout.

http://jsfiddle.net/dimodi/8etzB/23/

Regards,
Dimo
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Frank
Top achievements
Rank 1
answered on 12 Mar 2013, 02:18 PM
Thanks.
Tags
TabStrip
Asked by
Frank
Top achievements
Rank 1
Answers by
Dimo
Telerik team
Frank
Top achievements
Rank 1
Share this question
or