This post is the same as Override the custom field rendering in a list view, but I don't have the ability to ask a question to an answered post. I was hoping Stuart Pegg could elaborate on his answer.
I've been trying to figure out the final step I have to complete my custom field. Simply put, the user inputs a date, I store it as an int64 in the SPListItem, and then when I need to display it, I convert it back from int64 to the date.
However, in the view of the list (AllItems.aspx), it always displays the int64.
The class inherits SPField, and I've overridden the GetFieldValueAsText, but it is never triggered.
Stuart had mentioned that GetFieldValueAsText works for "most" fields. Why isn't it being triggered for a class inheriting SPField?
I've read that I need to use XLST to display properly in a view, but how can a XLST use .NET functions?
Any help provided is greatly appreciated!