more cstrs and overloadds
This commit is contained in:
@@ -677,7 +677,10 @@ public class RadValidationProviderEx : Component, ISupportInitialize, IExtenderP
|
||||
if (rule is not IRadValidationRuleEx radValidationRule)
|
||||
RemoveControlFromRules(control);
|
||||
else
|
||||
{
|
||||
radValidationRule.AddControl(control);
|
||||
validationRules.Add(rule);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
@@ -22,7 +22,11 @@ public class RadValidationRuleEx : FilterDescriptor, IRadValidationRuleEx
|
||||
#region Cstor
|
||||
public RadValidationRuleEx() : base()
|
||||
{
|
||||
this.PropertyName = "Text";
|
||||
PropertyName = "Text";
|
||||
}
|
||||
|
||||
public RadValidationRuleEx(string propertyName, FilterOperator filterOperator) : base(propertyName, filterOperator, null)
|
||||
{
|
||||
}
|
||||
|
||||
public RadValidationRuleEx(string propertyName, FilterOperator filterOperator, object value) : base(propertyName, filterOperator, value)
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
using System.ComponentModel;
|
||||
using Telerik.WinControls.Data;
|
||||
//using System.Linq;
|
||||
|
||||
namespace Pilz.UI.Telerik.Controls.RadValidationProvider;
|
||||
@@ -10,9 +11,9 @@ namespace Pilz.UI.Telerik.Controls.RadValidationProvider;
|
||||
public class RadValidationRuleWithTargetControlEx : RadValidationRuleEx
|
||||
{
|
||||
private string sourceControlPropertyName = "Text";
|
||||
|
||||
public RadValidationRuleWithTargetControlEx()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup>
|
||||
<Version>2.10.1</Version>
|
||||
<Version>2.10.2</Version>
|
||||
<GenerateDocumentationFile>True</GenerateDocumentationFile>
|
||||
</PropertyGroup>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user