Better way to pass around?

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: Chris (cf_at_NoSpamzieQuotepro.com)
Date: 02/06/04


Date: Thu, 5 Feb 2004 18:07:41 -0600

I have a modal (yes it must be modal) web page. I do this by having an
empty frame that points to my main page (so that I can repost without new
popups) I have to pass data to the child page from the parent and the only
way I can figure to do it by the url. Please correct me if I'm wrong on
that. When the data get to my frame I then have to pass the data to my
child form, again through the url (i think). The only way I found to do
this is in my frame to have this code:

Private Sub Page_Load(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles MyBase.Load
    Dim Data As String = Request.QueryString.Item("Data")
        Response.Write("<HTML><HEAD><TITLE>Renewals</TITLE>")
        Response.Write("</HEAD><frameset cols=""50%""><frame
name=""MainFrame"" src=""renewals.aspx?" & Data & """
></frameset></HTML>")
End Sub

I couldn't find any other way to pass the data around. Any ideas?

Thanks
Chris



Relevant Pages

  • Re: Form_KeyDown/KeyPress events do not fire?
    ... I have a child form in a MDI form. ... events never fire the fmeTISettings frame do not become visible. ... ElseIf KeyCode = vbKeyF3 Then ...
    (microsoft.public.vb.general.discussion)
  • Re: Frameset download complete
    ... Private Sub AxWebBrowser1_DocumentComplete(ByVal sender As Object, ByVal e As AxSHDocVw.DWebBrowserEvents2_DocumentCompleteEvent) Handles AxWebBrowser1.DocumentComplete ... But how can I get the top-level browser. ... >> frameset and frame complete. ... > DocumentComplete on the parent frame fires after DocumentComplete on all ...
    (microsoft.public.inetsdk.programming.webbrowser_ctl)
  • Re: Data Validity and Freshness
    ... Sender should be repsonsible to have a validity bit set with each ... frame to show the frame has valid data. ... Receiver should extract the CRC and see if the CRC has incremented ... Receiver should discard any incomming data if the validity criteria ...
    (comp.arch.fpga)
  • Re: [Socketcan-users] [PATCH] CAN: make checking in can_rcv less restrictive
    ... Checking for can frame format in can_rcvis too restrictive. ... In our case a sender generates correct can frames carrying ... This way the can driver on our side runs into the bug ...
    (Linux-Kernel)
  • Re: "about:blank" oepns new browser window
    ... I don't want a new window. ... if the security is 'restricted' no matter where the security was set, ... either in the declaration of the frame or the security tab of IE? ... simply setting the href the that equal to that of the empty frame. ...
    (comp.lang.javascript)