Jun 11, 2012, 7:29 PM
[CLOSED] ViewPort is not resizing inner panel
Hello,
I laid a viewport in site.master file and have two Panels defined in it. And I am loading panel content by specifying Loader item. Please see the below code snip:
Can you please shed some light on the issue. Many thanks!
Regards,
Xiaogang
Update: I notified that the content inside the ascx file is not rendered at the first launch of the page. I have to resize my IE window, after than I am able to see the rendered content, but, still with some render problem.
So, my question becomes that if the "loader" way in my case is recommended or it is still buggy?
Thanks.
I laid a viewport in site.master file and have two Panels defined in it. And I am loading panel content by specifying Loader item. Please see the below code snip:
<ext:Viewport ID="TheViewPoint" EnableTheming="True" runat="server" IDMode="Explicit" Layout="BorderLayout">
<Items>
<ext:Panel runat="server" Region="North" ID="ContentPanel" MinHeight="200" IDMode="Explicit" >
<Loader ID="Loader1" runat="server" Url="/Personalize/UserSetting/GetTopLevelMenu" Scripts="true"></Loader>
</ext:Panel>
<ext:Panel runat="server" Region="Center">
<Items>
<ext:Label runat="server" Text="test label"></ext:Label>
</Items>
</ext:Panel>
<Items>
</ext:Viewport>
The loader is loading a toolbar and a tabpanel from a ascx file. When I run it, the page is rendered properly. But, resizing my IE window is not causing viewport to resize the inner two panel content properly. Can you please shed some light on the issue. Many thanks!
Regards,
Xiaogang
Update: I notified that the content inside the ascx file is not rendered at the first launch of the page. I have to resize my IE window, after than I am able to see the rendered content, but, still with some render problem.
So, my question becomes that if the "loader" way in my case is recommended or it is still buggy?
Thanks.
Last edited by Daniil; Jun 18, 2012 at 3:39 PM.
Reason: Please use [CODE] tags, [CLOSED]