Last Updated:
27 Jun 2025 13:54
by Adrian Segovia
Initializing a viewer in a "display: none" container causes its content to render incorrectly
I have a report viewer, which renders inside a TabStrip. The tab of the viewer is not opened initially, and therefore its container has the CSS style "display: none" set. As a result, if I initialize the viewer before the tab is displayed, and then open the viewer, it appears broken: the report seems to show nothing but I can see that the number of pages changed so if I print preview or save as pdf I see the report there.