Skip to content

Instantly share code, notes, and snippets.

@a-ignatov-parc
Created February 21, 2012 02:08
Show Gist options
  • Save a-ignatov-parc/1873017 to your computer and use it in GitHub Desktop.
Save a-ignatov-parc/1873017 to your computer and use it in GitHub Desktop.
Валидаторы контрола с ID = rEqSum[0]
<Validators xmlns:d9p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d9p1:anyType xmlns:d10p1="http://schemas.datacontract.org/2004/07/Renins.Core.Base.Model.Policy" i:type="d10p1:Validator">
<d10p1:Enabled>true</d10p1:Enabled>
<d10p1:EnabledChanged>false</d10p1:EnabledChanged>
<d10p1:ErrorMsg>Поле не может быть пустым</d10p1:ErrorMsg>
<d10p1:IsValid>true</d10p1:IsValid>
<d10p1:Method>required</d10p1:Method>
<d10p1:Name />
<d10p1:Params />
<d10p1:ValidationGroup>Page2</d10p1:ValidationGroup>
</d9p1:anyType>
<d9p1:anyType xmlns:d10p1="http://schemas.datacontract.org/2004/07/Renins.Core.Base.Model.Policy" i:type="d10p1:Validator">
<d10p1:Enabled>true</d10p1:Enabled>
<d10p1:EnabledChanged>false</d10p1:EnabledChanged>
<d10p1:ErrorMsg>Поле может содержать только цифры</d10p1:ErrorMsg>
<d10p1:IsValid>true</d10p1:IsValid>
<d10p1:Method>digits</d10p1:Method>
<d10p1:Name />
<d10p1:Params />
<d10p1:ValidationGroup>Page2</d10p1:ValidationGroup>
</d9p1:anyType>
<d9p1:anyType xmlns:d10p1="http://schemas.datacontract.org/2004/07/Renins.Core.Base.Model.Policy" i:type="d10p1:Validator">
<d10p1:Enabled>true</d10p1:Enabled>
<d10p1:EnabledChanged>false</d10p1:EnabledChanged>
<d10p1:ErrorMsg>Сумма доп. оборудования должна быть не больше указанной</d10p1:ErrorMsg>
<d10p1:IsValid>true</d10p1:IsValid>
<d10p1:Method>deltaTo</d10p1:Method>
<d10p1:Name />
<d10p1:Params>
<d9p1:KeyValueOfstringstring>
<d9p1:Key>delta</d9p1:Key>
<d9p1:Value>0</d9p1:Value>
</d9p1:KeyValueOfstringstring>
<d9p1:KeyValueOfstringstring>
<d9p1:Key>ctrlname</d9p1:Key>
<d9p1:Value>chEqSumVal</d9p1:Value>
</d9p1:KeyValueOfstringstring>
<d9p1:KeyValueOfstringstring>
<d9p1:Key>ctrlkind</d9p1:Key>
<d9p1:Value>depend</d9p1:Value>
</d9p1:KeyValueOfstringstring>
</d10p1:Params>
<d10p1:ValidationGroup>Page2</d10p1:ValidationGroup>
</d9p1:anyType>
</Validators>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment