Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Validator controls.
Message
 
To
All
General information
Forum:
ASP.NET
Category:
.NET Compact Framework
Title:
Validator controls.
Miscellaneous
Thread ID:
00882189
Message ID:
00882189
Views:
49
I have conflicting information about the validator controls in the Compact framework. One book that I've been reading says that they are all available in the Compact Framework, but I couldn't find them the toolbox/device controls, or searching the help.
Assuming they are not available, how do you validate data entry for required values, digits only, patterns, etc. in a PDA application?
TIA

PS I've tried:
private void txtCar_Validating(object sender, System.EventArgs e){
  int car = Convert.ToInt16(txtCar.Text);
  if ( !(car>1 & car<156) ){
    MessageBox.Show("Invalid car number.","Re-enter Car.");
    txtCar.Focus();
  }
}
but the event doesn't seem to trigger.
Doru
Reply
Map
View

Click here to load this message in the networking platform