Can you call class methods from inside a view page?
Specifically ones that are not passed into the view?
i.e.
In asp.net MVC I can do this:
<%= SomeClass.FixDateFormat(ViewData.Model.SomeClass.DateCreated) %>
Can you call class methods from inside a view page?
Specifically ones that are not passed into the view?
i.e.
In asp.net MVC I can do this:
<%= SomeClass.FixDateFormat(ViewData.Model.SomeClass.DateCreated) %>