D
DC Gringo
Using vb.net, I have a button control:
<asp:Button OnClick="communitiesPrintReport()" id="btnPrintCommunities"
runat="server" Text="Button"></asp:Button>
Private Sub btnPrintCommunities_Click(ByVal sender As System.Object, ByVal e
As System.EventArgs) Handles btnPrintCommunities.Click
End Sub
That calls a JavaScript function:
function communitiesPrintReport() {
window.open('commPrintNew.aspx','communitiesPrint','scrollbars=yes,resizable=yes,height=600,width=800,menubar=yes,toolbar=yes');
}
But I want the page that's opening to receive a session variable
session("country") for processing. How can I have this session variable
maintained or added to the page as a URL paramater such as
commPrintNew.aspx?countryID=<session("countryID")
____
DC G
<asp:Button OnClick="communitiesPrintReport()" id="btnPrintCommunities"
runat="server" Text="Button"></asp:Button>
Private Sub btnPrintCommunities_Click(ByVal sender As System.Object, ByVal e
As System.EventArgs) Handles btnPrintCommunities.Click
End Sub
That calls a JavaScript function:
function communitiesPrintReport() {
window.open('commPrintNew.aspx','communitiesPrint','scrollbars=yes,resizable=yes,height=600,width=800,menubar=yes,toolbar=yes');
}
But I want the page that's opening to receive a session variable
session("country") for processing. How can I have this session variable
maintained or added to the page as a URL paramater such as
commPrintNew.aspx?countryID=<session("countryID")
____
DC G