Web Tutorials

Interview Q & A

Code Examples

Utility Tools

ASP.NET Assembly Directive Attributes

ASP.NET Assembly directive is used to include assembly at page-specific (.aspx file) and used by the ASP.NET page parser and compiler.

Syntax

Assembly Directive Attributes

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

ASP.NET Assembly Directive Attributes Example C#

RequiredFieldValidator

RegularExpressionValidator

RangValidator

CompareValidator

CustomValidator

ValidationSummary