Whats the use of @ Register directives ?

Answer Posted / skmdali786

@ Register
Associates aliases with namespaces and class names for
concise notation in custom server control syntax.
<%@ Register tagprefix="tagprefix" Namespace="namespace"
Assembly="assembly" %><%@ Register tagprefix="tagprefix"
Tagname="tagname" Src="pathname" %>
Attributes
tagprefix
An alias to associate with a namespace.
tagname
An alias to associate with a class.
Namespace
The namespace to associate with tagprefix.
Src
The location (relative or absolute) of the declarative User
Control file to associate with the tagprefix:tagname pair.
Assembly
The assembly in which the namespace that you are associating
with tagprefix resides.
Note The assembly name does not include a file name
extension.

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Less than one page, how many windows will you be able to maintain?

573


Which asp.net objects encapsulate the state of the client and the browser?

579


What is viewstate? What does the "enableviewstate” property do? Whay would I want it on or off?

527


What is the compiled object?

1646


What are validator? Name the validation controls in asp.net?

509






What is web api and why to use it?

563


what are the ihttphandler and ihttphandlerfactory interfaces ?

516


Explain authorization levels in .net ?

612


Differentiate between Server.Transfer and Response.Redirect with functionality? Why we can choose one over the other?

619


Differentiate between file-based dependency and key-based dependency.

516


What is the difference between response.redirect and server.transfer?

540


What is asp.net localization?

503


What is ASLM?

686


Define repository pattern in mvc.net? : asp.net mvc

521


Define satellite assemblies.

588