Click here to Skip to main content
15,893,564 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi frens


I want to send a value from windows form to already opened web browser .....and im able to do it using POST method but the browser page is not refreshing and hence im not able to display the retrieved value in the browser( browser is inactive i guess) ....so is there any way that i can send the value using querystring ......so that i can use the value in the browser ....


Thanks
Darshan
Posted

1 solution

A Response.Redirect will fire a page refresh. You could try it - but dont know if a user will be happy with the web page doing refresh all of a sudden.
 
Share this answer
 
Comments
darshan559 14-Jun-13 9:53am    
thanks Abhinav for ur reply ..i tried that but the value im getting from windows form s getting lost ....i want to send something like querystring from windows form so that it ll hit the browser.....now if i simply post the data using POST .browser is doing nothing (there is no action from d browser)
Mahesh Bailwal 14-Jun-13 10:17am    
Just for your information whenever you make POST, you are posting data to the server not to the browser. So browser is not aware about what you have posted to the server.

You need to find out some mechanism through which you can make browser aware about what you have posted to the server.

One way to achieve this is to make Ajax call (after some time interval) from browser to check the posted data on the server.

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