help with winform/causesvalidation property

25 views
Skip to first unread message

Wellington

unread,
Jan 21, 2010, 1:19:14 PM1/21/10
to DotNetDevelopment, VB.NET, C# .NET, ADO.NET, ASP.NET, XML, XML Web Services,.NET Remoting
Hello guys, I need your help with something that I´d already searched
without sucess.

There´s a form and some connected textboxes on bindingsources whose
data update runs on validating event. Thus I need to hold the
textboxes causesValidation property to true.

And when I get to these empty fields with the focus it'll hold the
focus and I can´t get away unless I put some content.

Anyone can help me?

tks

Arsalan Tamiz

unread,
Jan 23, 2010, 1:15:19 AM1/23/10
to dotnetde...@googlegroups.com
Personally I don't like binding TextBoxes, specially the numeric ones. The simplest solution is to remove the TextBox binding and do the validation/updation manually.
Reply all
Reply to author
Forward
0 new messages