Web Tutorials

Interview Q & A

Code Examples

Utility Tools

ASP.NET Implements Directive Attributes

ASP.NET Implements Directive is defines at page-specific (.aspx file) as attributes and is used by the ASP.NET page parser and compiler.

Syntax

<%@ Implements attribute="value" [attribute="value"...] %>  

ASP.NET Implements Directive Attributes Example C#

<%@ Implements Interface="System.Web.UI.IValidator" %>
<%@ Implements Interface="System.Web.UI.IPostBackEventHandler" %>

RequiredFieldValidator

RegularExpressionValidator

RangValidator

CompareValidator

CustomValidator

ValidationSummary