I’m using asp.net dynamic data. There is a field I want to auto fill for users. The file is user name which can be obtained with integrated windows authentication.
I created a Field Template and it works in Insert mode, but in Update mode, once another user updates the record, the new user name should be saved, but it didn’t.
I found a solution and I want to share it.
Apply
UIHintfor the entity field:Create a a new
FieldTemplate:Code behind for
FieldTemplate: