Web Tutorials

Interview Q & A

Code Examples

Utility Tools

ASP.NET PreviousPageType Directive Attributes

ASP.NET PreviousPageType attributes is used at page level (.aspx file) which is used by page parser and compiler.

Syntax

PreviousPageType Directive Attributes

AttributesDescription
TagNameSpecifies the name of the derived class.
VirtualPathSpecifies the location of the posting page.

ASP.NET PreviousPageType Directive Attributes Example C#

RequiredFieldValidator

RegularExpressionValidator

RangValidator

CompareValidator

CustomValidator

ValidationSummary