Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / xsp / System / Web / UI / WebControls / ServerValidateEventArgs.cs / 1305376 / ServerValidateEventArgs.cs
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//-----------------------------------------------------------------------------
namespace System.Web.UI.WebControls {
using System;
///
/// Provides data for the
/// event of the .
///
public class ServerValidateEventArgs : EventArgs {
private bool isValid;
private string value;
///
/// Initializes a new instance of the
/// class.
///
public ServerValidateEventArgs(string value, bool isValid) : base() {
this.isValid = isValid;
this.value = value;
}
///
/// Gets the string value to validate.
///
public string Value {
get {
return value;
}
}
///
/// Gets or sets whether the input is valid.
///
public bool IsValid {
get {
return isValid;
}
set {
this.isValid = value;
}
}
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- WebPartMinimizeVerb.cs
- TypePresenter.xaml.cs
- CacheChildrenQuery.cs
- DataGridViewCellCancelEventArgs.cs
- CodeArgumentReferenceExpression.cs
- XamlGridLengthSerializer.cs
- WindowsSlider.cs
- RightsManagementSuppressedStream.cs
- Empty.cs
- ClientTarget.cs
- _ReceiveMessageOverlappedAsyncResult.cs
- FormsIdentity.cs
- ApplicationFileParser.cs
- MessageEnumerator.cs
- ListControlDataBindingHandler.cs
- Classification.cs
- TickBar.cs
- MethodCallConverter.cs
- CompilerLocalReference.cs
- CommentAction.cs
- X509SubjectKeyIdentifierClause.cs
- FastEncoder.cs
- HtmlInputRadioButton.cs
- AlignmentXValidation.cs
- StatusBarAutomationPeer.cs
- SerializationFieldInfo.cs
- BrowserInteropHelper.cs
- PlanCompiler.cs
- DependencyProperty.cs
- RelationshipEnd.cs
- AssociationSet.cs
- CookielessHelper.cs
- ActivityExecutionContext.cs
- SmtpDigestAuthenticationModule.cs
- CodeTypeReferenceExpression.cs
- ScrollChangedEventArgs.cs
- SqlDataSourceFilteringEventArgs.cs
- ResourceManager.cs
- GenericXmlSecurityToken.cs
- Soap11ServerProtocol.cs
- WinFormsSecurity.cs
- QueryOutputWriter.cs
- DataTrigger.cs
- ConsoleEntryPoint.cs
- MultipartIdentifier.cs
- XmlNodeComparer.cs
- Lazy.cs
- EntityDataSourceSelectedEventArgs.cs
- ReadWriteObjectLock.cs
- StretchValidation.cs
- CustomValidator.cs
- MouseGestureConverter.cs
- CompoundFileIOPermission.cs
- StrongBox.cs
- SqlAliaser.cs
- Pool.cs
- OuterGlowBitmapEffect.cs
- SpecialNameAttribute.cs
- CorrelationValidator.cs
- GenericXmlSecurityToken.cs
- JpegBitmapDecoder.cs
- PropertyTabAttribute.cs
- GridViewEditEventArgs.cs
- CultureSpecificCharacterBufferRange.cs
- SqlLiftWhereClauses.cs
- MediaPlayer.cs
- PrimarySelectionAdorner.cs
- HideDisabledControlAdapter.cs
- PagesChangedEventArgs.cs
- HttpListenerRequestUriBuilder.cs
- AbstractSvcMapFileLoader.cs
- MessageDecoder.cs
- SqlWriter.cs
- JsonDataContract.cs
- XmlChoiceIdentifierAttribute.cs
- SqlDataSourceCommandParser.cs
- ProfileBuildProvider.cs
- UnsafeNativeMethods.cs
- ScrollableControl.cs
- ReadOnlyDataSource.cs
- ClientBuildManagerCallback.cs
- SystemParameters.cs
- WindowsUpDown.cs
- MenuAutomationPeer.cs
- XmlEventCache.cs
- CompilerWrapper.cs
- EntityContainer.cs
- DataGridViewAutoSizeModeEventArgs.cs
- CustomTypeDescriptor.cs
- DtdParser.cs
- SizeLimitedCache.cs
- PublisherIdentityPermission.cs
- ConnectionOrientedTransportChannelListener.cs
- ApplicationDirectoryMembershipCondition.cs
- NumberSubstitution.cs
- BooleanAnimationUsingKeyFrames.cs
- Method.cs
- NullableBoolConverter.cs
- SqlBulkCopyColumnMapping.cs