I have a C# method located in the code behind and I would like to call it from the .aspx content page. The following are my code:
<a class="btn-button button" onclick="myFunction()">Click</a>
function myFunction() {
<%=MyMethod()%>
}
public void MyMethod()
{
//...
}