C# .NET - Access C# server side variable in javascript

Asked By Rajiv Gogia on 08-Jun-13 10:28 AM
How can we change the value of string declared in .cs page using javascript code.

Robbe Morris replied to Rajiv Gogia on 08-Jun-13 05:28 PM
If you declared it in the code behind class, you'll need to post back to the server.  http is a disconnected protocol.  Once the browser received the html from the server, the network connection is disconnected and stays that way until the browser initiates another request.
meena damwani replied to Robbe Morris on 14-Jun-13 01:27 AM
 Show below link