Jan 23, 2009, 3:27 PM
Load a page to a panel not working...
Hi Friend,
I have a panel inside a panel tab like shown bellow:
This is the client code to call this sub:
Thank's
I have a panel inside a panel tab like shown bellow:
...
<Center>
<ext:Panel runat="server" Title="Report">
<Body>
<ext:FitLayout ID="FitLayout1" runat="server">
<ext:Panel ID="pnl_report" runat="server" Height="300" Title="Report Here">
<Body>
</Body>
</ext:Panel>
</ext:FitLayout>
</Body>
</ext:Panel>
</Center>
</ext:BorderLayout>
</Body>
</ext:ViewPort>
On the server side I would like to load a form after doing some database business on it and I'm doing: Public Sub ajaxBuildReport(ByVal sender As Object, ByVal e As Coolite.Ext.Web.AjaxEventArgs)
...
some database business here...
...
'REPORT LOAD
pnl_report.AutoLoad.Mode = Coolite.Ext.Web.LoadMode.IFrame
pnl_port.AutoLoad.Url = "myReport.aspx"
End Sub
But when I click the button, the sub is surely fired but the form "myReport.aspx" is not loaded... and the panel remains blank.This is the client code to call this sub:
<ext:Button ID="btn_showReport" runat="server" Icon="Accept" Text="Show Report...">
<AjaxEvents>
<Click OnEvent="ajaxBuildReport">
<EventMask ShowMask="true" MinDelay="200" Msg="building your report wait..." />
</Click>
</AjaxEvents>
</ext:Button>
So, what's missing ?Thank's