Here Mudassar Ahmed Khan has explained how to get value of Label set on client side using JavaScript on server side (code behind) in ASP.Net using C# and VB.Net.
Label controls do not send values to server and hence their value is lost on PostBack. To solve this issue we need to make use of Hidden Field which sends the JavaScript modified value to server.
↧