<%@ Register tagprefix= "TagPrefix" namespace= "Namespace" assembly= "Assembly"%>
<%@ Register tagprefix= "TagPrefix" tagname= "Tagname" src= "pathname"%>
Property Description
Property |
Describe |
Assembly |
Sets the assembly where the namespace associated with the TagPrefix property resides. The assembly name does not include the file extension. If you place the source code file for the custom control under the App_Code folder of the application, ASP. NET will dynamically compile the source file when running, so you do not have to use the Assembly property |
Namespace |
To set the namespace of a custom control that is being registered |
Src |
Relative or absolute location of the declarative user control file associated with Tagprefix:tagname |
TagName |
Any aliases associated with the class. This property is used only for user controls |
TagPrefix |
Provides a short reference to the namespace of the tag used in the file that contains the directive
|
<% @Register%> instructions in ASP.