Click here to Skip to main content
15,878,809 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have a main form.I need to open a new popup window when a radio button is clicked.I want the main form to maintain its state even after closin the popup window.

I saw some solution in the website ,but most of them use java script,which i dont want to use.

Please let me know if there is an solution present.

Thnks in advance.
Posted

"most of them use java script,which i dont want to use."

Is there a reason for not wanting to use JavaScript? Without it you are out of luck with this.
 
Share this answer
 
Comments
Albin Abel 28-Apr-11 11:53am    
My 5. Op is out luck without using any kind of client scripts.
Hi,

Either you have to use javascript or vbscript to open a popup window.

or you can set autopostback of that radio button to true and write some line to open that popup window. you can write
ClientScript.RegisterStartScriptBlock(this.gettype(),"window.open('http://www.codeproject.com');","startscript",true);

This will register this script and executed after the page is reloaded on client's browser.
 
Share this answer
 
v2
Comments
Albin Abel 28-Apr-11 11:52am    
hi divyesh RegisterStartupScriptBlock not escaped from javascript. My 5. Op can't do it without a kind of client scripting.
[no name] 28-Apr-11 20:39pm    
VBScript has long been abandoned.

The autopostback solution still does not avoid client script.

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