Advopsbeese
New Member
I have a FormView that is binded to model. And use such controls inside it: \[code\]<asp:TextBox runat="server" ID="txtName" Text='<%#: BindItem.Name %>'></asp:TextBox>\[/code\]After i've added annotations to the object the form is binded to- validation started to work, but i can't see any validation messages. How to properly do that?
PS:\[code\] ValidationSettings.UnobtrusiveValidationMode = UnobtrusiveValidationMode.WebForms; \[/code\]
PS:\[code\] ValidationSettings.UnobtrusiveValidationMode = UnobtrusiveValidationMode.WebForms; \[/code\]