You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: knowledge-base/tabstrip-load-all-tabs-initially.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -34,7 +34,7 @@ Even when [`PersistTabContent="true"`]({%slug tabstrip-persist-content%}), the T
34
34
35
35
In scenarios where all TabStrip tabs must render initially and be in the DOM at all times, use the following approach:
36
36
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 ` `.
38
38
1. Hide the TabStrip tab container elements (`<div class="k-tabstrip-content">`) with a `display:none` CSS style.
39
39
1. Toggle the `display` styles of the HTML `<div>`s in the [TabStrip `ActiveTabIndexChanged` event]({%slug tabstrip-events%}#activetabindexchanged).
0 commit comments