opening a pop-up window.

Feb 23 2009 8:36 AM

Hi,

I want to open new pop-up window on click of a button.

i have one function written on aspx page using javascript. i am calling that function from "on click" event on cs page. i can not use the "onClientCall" event to call the function as before opening the popup window i need to perform some checks.

so my problem is, by the statement:

btnSubmit.Attribute.Add("onclick","ShowAlert()");

window opens but in background. i want to bring it to foreground.

can someone suggest any solution for this. or just let me know if i m missing some settings.


Answers (4)