Public Shared Function GetSomeText() As String
Dim result = "This is from code behind"
//This is not working like that, I think
var t = GetSomeText();
var t = '<%= GetSomeText() %>';