Aug 24, 2013, 3:53 AM
[CLOSED] load page with querystring in a extnet window
hi.
i have 2 stand alone pages that contains a ext.net window object and try to load on it a 2nd page that receive as parameter in the query string a value, lets say
one.aspx
---------------------
one.aspx.cs
-------------------------
any clue?
i have 2 stand alone pages that contains a ext.net window object and try to load on it a 2nd page that receive as parameter in the query string a value, lets say
one.aspx
---------------------
<body>
<form>
<ext:FormPanel>
<Items>
<ext:TextField ID="contactid" runat="server" />
<ext:Button ID="xx" runat="server" Text="Contacts">
<DirectEvents>
<Click OnEvent="ShowContacts" />
</DirectEvents>
</ext:Button>
</Items>
</ext:FormPanel>
<ext:window id="windowCn" runat="server" Hidden="true" X="300" Y="300" Width="300" Height="300" AutoRender="false" />
</form>
</body>
one.aspx.cs
-------------------------
protected void ShowContacts( object sender, EventArgs e)
{
WindowCn.Loader = new ComponentLoader{
Url=string.Format("http://localhost/frm/frmContacts.aspx?cn={0}",contactid.Text),
Mode=LoadMode.Frame
};
WindowCn.Show();
}
if i load the page http://localhost/frm/frmContacts.aspx?cn=1 right into the browser it shows data, but when i run the one.aspx page and click the button, the window is shown but no content is shown ( the contactid textbox = 1 )any clue?
Last edited by Daniil; Sep 03, 2013 at 4:59 AM.
Reason: [CLOSED]