Skip to content

Commit e823259

Browse files
authored
Update knowledge-base/tabstrip-load-all-tabs-initially.md
1 parent 8383131 commit e823259

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

knowledge-base/tabstrip-load-all-tabs-initially.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ Even when [`PersistTabContent="true"`]({%slug tabstrip-persist-content%}), the T
3434

3535
In scenarios where all TabStrip tabs must render initially and be in the DOM at all times, use the following approach:
3636

37-
1. Move the tab content outside the TabStrip. Use one HTML `<div>` to hold the contents of each tab.
37+
1. Move the tab content outside the TabStrip. Use one HTML `<div>` to hold the contents of each tab. The `<TabStripTab>` tags cannot remain completely empty, so add some dummy content such as `&nbsp;`.
3838
1. Hide the TabStrip tab container elements (`<div class="k-tabstrip-content">`) with a `display:none` CSS style.
3939
1. Toggle the `display` styles of the HTML `<div>`s in the [TabStrip `ActiveTabIndexChanged` event]({%slug tabstrip-events%}#activetabindexchanged).
4040

0 commit comments

Comments
 (0)