Advertisement

07.02.2008 at 06:43PM PDT, ID: 23535638
[x]
Attachment Details

passing session object pop up window

Asked by PNKJ in .NET Framework 2.0

Hi,

I am using the following code to open a new pop up window and want to display my crystal report in new pop up window.
I have some default values which I amstoring in session after reading from xml file and I wan to send these session to my pop up window . How can i pass these and how do I access them in my pop up window.

  ls_xml1 = iobj_comm.ReturnCriteriaXML(Server)
  Session("str_XML1") = ls_partxml1

I also want o pass a checkbox checked value true or false in query string to my pop up page
How do I pass this in the foll0wing code
  Dim lobj_script As StringBuilder = New System.Text.StringBuilder
        lobj_script.Append("<script language='javascript'>")
        lobj_script.Append("window.open('PrintReport.aspx','_blank'); ")
        lobj_script.Append("</script>")
        If Page.ClientScript.IsClientScriptBlockRegistered("requiredfields") = False Then
            Page.ClientScript.RegisterClientScriptBlock(Me.GetType, "requiredfields", lobj_script.ToString)
        End If

        ClientScript.RegisterClientScriptBlock(Me.GetType, "responseredirect", lobj_script.ToString)

          Start Free Trial
 
Loading Advertisement...
 
[+][-]07.03.2008 at 06:20PM PDT, ID: 21930461

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: .NET Framework 2.0
Sign Up Now!
Solution Provided By: lambdabunker
Participating Experts: 1
Solution Grade: A
 
 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628