Hi,
Validation in case of heritance:
I want to disable Validation of child object in Dataform:
- Only Property Name
- All Properties
is it posible to disable Validation? why there is no ValidatesOnDataErrors="None" property like by gridview?
is it also posible to disable validation on DataField?
Thanks!
Validation in case of heritance:
public
class
Lookup : ValidationBase
{
[Required(ErrorMessage =
"Das Feld 'Name' muss gefüllt sein."
)]
public
string
Name
{
get
{
return
this
._name; }
set
{
this
._name = value;
}
}
public
class
Child : Lookup
{
...
}
I want to disable Validation of child object in Dataform:
- Only Property Name
- All Properties
is it posible to disable Validation? why there is no ValidatesOnDataErrors="None" property like by gridview?
is it also posible to disable validation on DataField?
Thanks!