Re: Opening a pop-up window from code behind page

From: Vi (Vi_at_discussions.microsoft.com)
Date: 08/12/04


Date: Thu, 12 Aug 2004 12:57:02 -0700

What will not work under XP SP2: the solution you proposed or the way I
described the functionality?

"bruce barker" wrote:

> the current crop of popup blocker and xp-sp2 prevent this design.
>
> you web button should open a window that calls an aspx page. if the aspx
> page can fetch values from the caller (or the caller could pass them). if
> the sql doesn't work the page displays an error and close button.
>
>
> -- bruce (sqwork.com)
>
> "Vi" <Vi@discussions.microsoft.com> wrote in message
> news:813F4C8C-0B69-4F70-A65A-7A368815F89B@microsoft.com...
> > Hi,
> > I have a WebControls.Button control on a page. When this control is
> clicked,
> > I want to perform a server side action (run a DB stored proc) and if it's
> > successful open a pop-up window passing some values to it. If the server
> side
> > action is not successful - I want to display an error message.
> > How can I run server side (run stored proc) and client side code
> > (window.open) from the code behind page?
> >
> > Thank you in advance.
> >
>
>
>