Aug 03, 2009, 5:24 AM
Tabs are sliding up after ShowModalDialog
I have a ViewPort object, which has a child Panel on its body. In my Panel's body I have a fitlayout element and also it has a tabpanel child control. These controls are placed in my masterpage. I add new tabs with a client-side javascript. But I have a problem with my tabs. I add a new tab to my tabpanel and new page has a link which referred to open a modal page with window.showModalDialog javascript. When I click to my link new modaldialog opens and after I returned from the modaldialog my tabs are sliding up thus I can only see the half of them. Am I missing some property?
Thanks for your support.
<ext:ViewPort ID="ViewPort1" runat="server">
<Body>
<ext:BorderLayout ID="viewPortLayout" runat="server">
<Center>
<ext:Panel runat="server" Header="False">
<Body>
<ext:FitLayout runat="server">
<ext:TabPanel ID="btaMainTab" runat="server">
<Listeners>
<BeforeRemove Handler="tabBeforeRemove();" />
</Listeners>
</ext:TabPanel>
</ext:FitLayout>
</Body>
</ext:Panel>
</Center>
</ext:BorderLayout>
</Body>
</ext:ViewPort>