Click here to Skip to main content
15,907,183 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
I have doubt in popup window. In my application, I have two page (parent.aspx and child .aspx) . Child. Aspx which represent pop up window. In my parent.aspx page I have three button(add,update,delete). When I click add button in the parent page, that will open popwindow (i.e. child.aspx)

My requirement is

1. when child.aspx (popup window) opens, the user should not allow to access the parent.aspx.. But parent page could view behind the popup window..
2. after we close the child.aspx(popup window), then only user can access the parent page(i.e.parent.aspx)

My friend's r said, we can implement through JavaScript. Can any one plz guide me through sample code. It's very urgent for my project.

I have used (window.open ) for popupwindow.. In my project I should not use modular dialogbox for popup window.

Thanks In Advance

[edit]Urgency deleted - OriginalGriff[/edit]
Posted
Updated 24-Jul-12 4:15am
v2
Comments
[no name] 24-Jul-12 10:14am    
I checked my task list and found that this is not urgent at all.
OriginalGriff 24-Jul-12 10:15am    
Urgency deleted: It may be urgent to you, but it isn't to us. All that your stressing the urgency does is to make us think you have left it too late, and want us to do it for you. This annoys some people, and can slow a response.
shankumar_cst 25-Jul-12 5:29am    
I am new holder of this, so i am sorry using urgent.... thank u for ur suggestion OriginalGriff...... please more sugges me how can i get solution for my doubt and requirement.....
Sergey Alexandrovich Kryukov 24-Jul-12 11:23am    
"In my project I should not use modular dialogbox for popup window"...
You probably mean "modal", which is a completely different word. But in this case, what do you call "pop-up"?
--SA
shankumar_cst 25-Jul-12 5:26am    
pop-up means a small window like ctrl+s - save, ctrl+p - print, this shotcut open one small window like the same pop-up window..... Please help my requirement

 
Share this answer
 
Comments
Sergey Alexandrovich Kryukov 24-Jul-12 11:22am    
Good idea and links, my 5.
It worth saying that the "regular" pop-up (creation of a new browser window) is always bad, no doubt. :-)
--SA
bbirajdar 25-Jul-12 1:57am    
Thank you SA :)
shankumar_cst 25-Jul-12 5:48am    
No i dnt want ajax..... I dnt want use modal-popup

I want .....
The issue is, im using window.open for popup window. i cant change this method. once i change the method, i need to change in my entire application. my requirement is make use of javascript r any other approach, to hold the popup window. can u plz guide me...
bbirajdar 25-Jul-12 5:55am    
The shortest answer to this is ..No..Its not possible using winow.open..

There is no relation between the two instances of browser..So the parent window and child window will never know about each other..
Hi Shankumar,

Please refer below link

http://www.alessioatzeni.com/wp-content/tutorials/jquery/login-box-modal-dialog-window/index.html


http://dinbror.dk/bpopup/


http://smashingspy.com/32-best-jquery-popup-window-dialog-box-example/

Hope this will help !!!


Regards,
Reishabh Saxena.
 
Share this answer
 
Comments
shankumar_cst 25-Jul-12 6:17am    
First understand my requirment..... i dnt want panal, iframe, any other window.... i want use another aspx page..... now guide me

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