I have problem with splitters when they are placed in tab which is not selected initially.
Please see enclosed solution.
1 Answer, 1 is accepted
0
Accepted
Dimo
Telerik team
answered on 02 Sep 2011, 07:13 AM
Hello Djordje,
The Splitter is a component, which adjusts its layout on the client. However, Javascript size calculations do not work inside containers that are hidden with a display:none style, such as inactive tabs. That's why you need to use the TabStrip's Select client event to manually force the Splitter to readjust:
Note that the trigger method is executed upon the outermost Splitter's DOM element, not its client object.
You may need to wrap the above Javascript statement in a setTimeout.
Best wishes,
Dimo
the Telerik team
Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward!
We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>