Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Anyone know how to leave the MaskedTexbox use DataBindings?
Message
From
07/04/2011 23:03:38
 
 
To
All
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Title:
Anyone know how to leave the MaskedTexbox use DataBindings?
Environment versions
Environment:
VB 9.0
OS:
Windows XP
Database:
MS SQL Server
Application:
Desktop
Miscellaneous
Thread ID:
01506566
Message ID:
01506566
Views:
79
HI all,
i use MaskedTexbox and DataBindings, vb.net ...... First , i add the one record, the MaskedTexbox data show now day. After, i
click the MaskedTexbox , and delete the MaskedTexbox data, and entry next control, but in this time, i can't leave the MaskedTexbox ,
hold in this control, but no error msg, how can i do, thx?
Anyone try this case...........

But i search the website, i find the same problem........
http://connect.microsoft.com/VisualStudio/feedback/details/116519/cant-delete-values-in-masked-text-box

But i saw this , i also don't know to do............ Any one can give me idea? thx~~~

my code
MskQuodate.DataBindings.Add("text", QuohdrBindingSource, "Quodate", True, DataSourceUpdateMode.OnPropertyChanged)
And try this method is not ok


 Private Sub MskQuodate_Validating(ByVal sender As Object, ByVal e As System.ComponentModel.CancelEventArgs) Handles MskQuodate.Validating
        If (MskQuodate.Text.Substring(0, 3) = "  /") Then

            MskQuodate.Text = ""
        End If
 End Sub
Reply
Map
View

Click here to load this message in the networking platform