Click here to Skip to main content
15,885,278 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Suppose a page (abc.aspx) have a button and on click of that button 2 things happens :-
1) a popup window open(def.aspx)
2) and page(abc.aspx) that have button redirect to (geh.aspx)

now can somehelp me please
Posted
Updated 10-Jul-11 8:42am
v2
Comments
fjdiewornncalwe 10-Jul-11 9:41am    
What do you mean by "path of parent window"? What are you actually trying to do because your question doesn't make sense.
cool_compaq 10-Jul-11 9:48am    
i mean to say if at present i am at (abc.aspx) and on button click one pop will open suppose (def.aspx) and meanwhile on parent window(geh.aspx) will open
plz tell me how to achieve it
Sergey Alexandrovich Kryukov 10-Jul-11 13:38pm    
You did not make it more clear.
--SA
cool_compaq 10-Jul-11 14:40pm    
Suppose a page (abc.aspx) have a button and on click of that button 2 things happens :-
1) a popup window open(def.aspx)
2) and page(abc.aspx) that have button redirect to (geh.aspx)
now can somehelp me please
Ravi Sharma 2 8-Apr-13 6:43am    
Hi Cool,

I also face the same issue...can u tell me how u r resolve this??

1 solution

I am not sure what you are up to but as far as your requirement is concerned:
To make it appear as if you are simultaniously redirecting to a page and opening a popup window, what you can do is:

1) first redirect to page geh.aspx on button click.
2) use query parameter to tell geh.aspx that you need a popup to abc.aspx
3) then in js of the page of geh.apsx check for the query parameter and open the popup window with the url of abc.aspx.

hope this idea works...
 
Share this answer
 
v2
Comments
cool_compaq 11-Jul-11 11:02am    
sir can you tell me command in c# that how to pass popup details in query parameter and then access it

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900