I have a function named \"callfunction()\" in JavaScript(Mypage.aspx) .This function should call another function \"func()\" in C# (Mypage.aspx.cs )
Something like
If it's a webforms project (not MVC) and you don't want to use AJAX, you can use __doPostBack.
C#:
public void Page_Load(object sender, EventArgs e)
{
string parameter = Request["__EVENTARGUMENT"]; // parameter
var senderObject = Request["__EVENTTARGET"]; // func
if(senderObject == "func")
{
//call your function here, or write the implementation
}
}