Aha. That is a special sort of beast. You can pass data in the vArguments
parameter, but that would occur on the client. If you intend to access this
on the server, your options are to either post back the calling page and
save information into the Session state, or else pass the data in the URL as
you have already discovered. Alternately, you can author your page to first
grab the vArguments parameter, and then post back to grab the page that you
actually want to display based on this parameter. It's just a matter of how
sensitive your data is, and what gives the best user experience.
--
Chris Jackson
Software Engineer
Microsoft MVP - Windows Client
Windows XP Associate Expert
--
More people read the newsgroups than read my email.
Reply to the newsgroup for a faster response.
(Control-G using Outlook Express)
--
"Chris" <cf@NoSpamzieQuotepro.com> wrote in message
news:ea**************@TK2MSFTNGP12.phx.gbl...
Actually I'm using the showModalDialog method that I am using. This is
what
is complicating my problem.
"Chris Jackson" <chrisjATmvpsDOTorgNOSPAM> wrote in message
news:Or******************@TK2MSFTNGP10.phx.gbl... I am a little confused by what you are doing.
If you are opening a new window using window.open, that method returns a
reference to that new window, which you can use to get to that page.
If your problem is with getting to a frame, then you can use the frames
collection of the parent window object to find the frame that you need.
Does that answer your question?
--
Chris Jackson
Software Engineer
Microsoft MVP - Windows Client
Windows XP Associate Expert
--
More people read the newsgroups than read my email.
Reply to the newsgroup for a faster response.
(Control-G using Outlook Express)
--
"Chris" <cf@NoSpamzieQuotepro.com> wrote in message
news:eS*************@tk2msftngp13.phx.gbl... >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
>
>