Ask a Question related to ASP.NET General, Design and Development.
-
Robin Day #1
Server side Window.open?
Ok, this has to be either easy, or impossible...
I'd like to fire of a pop up window using serverside code...
Basically its a preview popup of a form.
The aspx pop up page goes through the session etc to display the information
entered so far.
Just a javascipt href will not work as when the preview button or link is
pressed the form needs to post back to the server to make the session
information up to date.
Once the processing has been done, I can fire the pop up.
Is there a way of doing this using the Request, Response or Page objects?
Currently the only way I can think of doing it is to output javascipt to the
page as it loads and that calls the window.open.
I personally think that is quite messy and don't like javascipt that
executes on the page loading. I would rather have a neater way of doing it
if anyone knows of one?
Any help much appreciated.
Thanks,
Robin
Robin Day Guest
-
Controls with a client side onLoad function or seting a cursor server side
Is there any way to create a web control that calls a client side onLoad function? Its diffucilt since you are not able to access the form or... -
Client side and server side scripting problem
Hiya I have a problem with using some client side and server side scripting together in an ASP. I'm using VBScript. What I'm trying to achieve... -
Server control button click: open pop up browser window
Checkout ... ShowModalDialog in the javascript reference. It works quite will if you want to use client side javascript. "Alvin Bruney"... -
open pop up window from asp server control event handler
Check out this article, this will help you http://www.microsoft.com/india/msdn/articles/PopupCalendarinASP.aspx In this article, i used window.open... -
closing showModalDialog window from server side
I have a simple page that I will like to display while i am processing the user request in the server. The page only has a label saying "Please... -
Kevin Spencer #2
Re: Server side Window.open?
Create your script to open the window, and use Page.RegisterStartupScript()
to add the script to the page, to be run when the page loads in the browser.
HTH,
Kevin Spencer
Microsoft FrontPage MVP
Internet Developer
[url]http://www.takempis.com[/url]
Big things are made up of
lots of Little things.
"Robin Day" <robin.day@advorto.com> wrote in message
news:%23jrnFqxPDHA.2768@tk2msftngp13.phx.gbl...information> Ok, this has to be either easy, or impossible...
>
> I'd like to fire of a pop up window using serverside code...
>
> Basically its a preview popup of a form.
> The aspx pop up page goes through the session etc to display thethe> entered so far.
> Just a javascipt href will not work as when the preview button or link is
> pressed the form needs to post back to the server to make the session
> information up to date.
> Once the processing has been done, I can fire the pop up.
>
> Is there a way of doing this using the Request, Response or Page objects?
> Currently the only way I can think of doing it is to output javascipt to> page as it loads and that calls the window.open.
> I personally think that is quite messy and don't like javascipt that
> executes on the page loading. I would rather have a neater way of doing it
> if anyone knows of one?
>
> Any help much appreciated.
> Thanks,
> Robin
>
>
Kevin Spencer Guest



Reply With Quote

