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