RE: Problem with RegisterStartupScript
From: Suresh (anonymous_at_discussions.microsoft.com)
Date: 03/17/04
- Next message: nobody: "Re: Edit collection property from Property window..."
- Previous message: george d lake: "Re: Where host ASP.NET website?"
- In reply to: Lloyd Sheen: "Problem with RegisterStartupScript"
- Next in thread: Lloyd Sheen: "Re: Problem with RegisterStartupScript"
- Reply: Lloyd Sheen: "Re: Problem with RegisterStartupScript"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 17 Mar 2004 13:21:11 -0800
>The user has reports that they want to view in a seperate IE. I am using the RegisterStartupScript to open a new window
when they request the page.
Can you clarify exactly how the users request a report and how you are using RegisterStartupScript to open a new window?
Do they click on a link??
Suresh.
----- Lloyd Sheen wrote: -----
I have the following situation. The user has reports that they want to view
in a seperate IE. I am using the RegisterStartupScript to open a new window
when they request the page. This works fine.
Now they close the window and request lets say an edit. A response.redirect
is issued and that works fine. Now the problem.
If the user clicks the "Back to Navigator" button (my app) there is no
problem but if they click the Back button on the IE toolbar it then reopens
the report since the javascript is still there. Is there someway to get rid
of the registered startup code?
Lloyd Sheen
- Next message: nobody: "Re: Edit collection property from Property window..."
- Previous message: george d lake: "Re: Where host ASP.NET website?"
- In reply to: Lloyd Sheen: "Problem with RegisterStartupScript"
- Next in thread: Lloyd Sheen: "Re: Problem with RegisterStartupScript"
- Reply: Lloyd Sheen: "Re: Problem with RegisterStartupScript"
- Messages sorted by: [ date ] [ thread ]