Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
270
How to set validation Settings by codes in vb.net
posted

I am in vb.net. How do I set validating setting for a textbox control by codes? I would like to enable IsRequired and set custom notification text message based on conditions.

Something like: 

Me.UltraValidator.SetValidationSettings(txtDBServer, .......)

Thank you.