I was having binding issues using the kendo-datepicker tag helper using a DateTimeOffset property from my pagemodel, and could only find threads about this being a known issue. so I created my own custom tag helper that inherits from DatePickerTagHelper, and added this code to the Process method:
if (For.Metadata.ModelType == typeof(DateTimeOffset))
{
var dto = (DateTimeOffset)For.Model;
Value = dto.Date;
}
My dates now render when the page loads, and are properly passed during the post. All of my previous attempts only allowed one or the other. Are there any issues with this approach that I might be missing?