title: Calling functions from an ASP.NET code file with javascript
body: <p>I have a JavaScript-based timeline which needs to use data from an SQL server. The queries and the JSON conversions have been worked out in the form of C#.NET functions within a code file related to an .aspx page. </p>
  
  <p>So for a complete newbie to ASP.NET, how do you set up a function call like this from JavaScript? </p>
  
  <p>I would love it if someone had some simple example code I could learn/get some pointers from.</p>
  
  <p>Edit: I am using .NET 3.5</p>