How should data be passed between client-side Javascript and C# code behind an ASP.NET app?
- by ctck
I'm looking for the most efficient / standard way of passing data between client-side Javascript code and C# code behind an ASP.NET application. I've been using the following methods to achieve this but they all feel a bit of a fudge.
To pass data from Javascript to the C# code is by setting hidden ASP variables and triggering a postback:
…