Files
Marek Habersack 609922272f 2009-10-02 Marek Habersack <[email protected]>
* DynamicValidator.cs: initial implementation

	* DynamicDataManager.cs: implemented OnLoad.
	Better implementation of RegisterControl

	* DynamicDataExtensions.cs: implemented FindDataSourceControl.

2009-10-02  Marek Habersack  <[email protected]>

	* DynamicValidatorTest.cs: added.

2009-10-02  Marek Habersack  <[email protected]>

	* GridView.cs: added two 3.5 properties - SelectedPersistedDataKey
	and IPersistedSelector.DataKey.

	* BaseDataBoundControl.cs: slight optimizations to FindDataSource

svn path=/trunk/mcs/; revision=143278
2009-10-02 11:35:41 +00:00

34 lines
567 B
C#

using System;
using System.Web.DynamicData;
namespace MonoTests.Common
{
public class PokerDynamicValidator : DynamicValidator
{
public Exception GetValidationException ()
{
return ValidationException;
}
public void SetValidationException (Exception ex)
{
ValidationException = ex;
}
public bool CallControlPropertiesValid ()
{
return ControlPropertiesValid ();
}
public bool CallEvaluateIsValid ()
{
return EvaluateIsValid ();
}
public void CallValidateException (Exception ex)
{
ValidateException (ex);
}
}
}