Click here to Skip to main content
15,917,709 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
In my project i am using a child window...i want to change the status=0 in the database when this child window closes...how can i do it....am using VS2010..sql server 2008...
Posted

Use the FormClosed[^] event, or maybe FormClosing.
 
Share this answer
 
use showmodeldialog popup in javascript, this is user friendly
 
Share this answer
 
Actually your subject and description contents are different.

you will get child window values in parent window page load on closing child window.
 
Share this answer
 
Comments
Member 9492907 12-Nov-12 4:09am    
how can i get this
which java script method used to open the popup?
 
Share this answer
 
Comments
Member 9492907 12-Nov-12 4:25am    
onclick="window.open('CCAgentLiveChat.aspx?ChatId=<%#DataBinder.Eval(Container.DataItem,"ChatId") %>&UserName= <%#DataBinder.Eval(Container.DataItem,"Name") %>&UserRole= <%#DataBinder.Eval(Container.DataItem,"UserRole") %>','mywindow<%#DataBinder.Eval(Container.DataItem,"ChatId") %>','toolbar=no, width=450,height=400,left=300,top=150')"
Member 9492907 12-Nov-12 4:46am    
plzz help me...hw can i do it
I am very strong in show model dialog using
use this one we will get one value automatically.
 
Share this answer
 
Comments
Member 9492907 12-Nov-12 5:03am    
sorry i d't get what u are saying
Could you please provide more details on that? What is your project type? is it a windows form application?


Kushan Randima
Software Engineer
DigiteQ Solutions PVT LTD
 
Share this answer
 
Comments
Member 9492907 1-Dec-12 6:03am    
no ..it is a web application

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