Click here to Skip to main content
15,887,746 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I am having a popup screen in one page where i set some value but when i close that popup afer setting value the parent page require post back to set that value.
Initially i was using Window.showmodaldialog which was working fine in chrome but now this feature does not work and rest thing whtaever m trying are creating issue
Posted

1 solution

You don't really need a postback, because you don't want to create a popup window. The right approach is emulation of modal behavior on the same page, using so called "modal popup" concept. I explain everything in my recent article Modal Popup From Scratch[^].

You don't need to use my code (but you can), because I also explain how to do such work and discuss existing alternatives, such as jQuery Dialog and 3rd-party jQuery plug-ins.

—SA
 
Share this answer
 
Comments
Aviinash 6-Jan-16 0:54am    
But its not working under chrome
Sergey Alexandrovich Kryukov 6-Jan-16 9:50am    
It does work with Chrome. However, you did not explain what "it"...
—SA

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