Whats the use of @ Register directives ?

Answer Posted / sagar kute

Syntax:
1) <%@ Register tagprefix="tagprefix" Namespace="namespace"
Assembly="assembly" %>
2) <%@ Register tagprefix="tagprefix"
Tagname="tagname" Src="pathname" %>
3) <%@ Register tagprefix="tagprefix" Namespace="namespace" %>
(Note : Assembly name can not include file extension.)

* Used to add the custom server controls, decoratively to a
web page, master page or a skin file.
* used to add user control declarative to a web page, master
page or a skin file.

Is This Answer Correct ?    4 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What do you mean by role-based security?

564


Any disadvantages in Dataset and in reflection ?

2815


How does http session work?

516


Which property is used to identify the Page is Post Back in ASP.NET?

548


Explain login control and form authentication.

552






What is s2s tracking?

532


Explain the difference between asp & asp.net.

538


What is the use of session in web application?

478


What is client side state management?

500


Differentiate between namespace and assembly.

555


What are the advantages and disadvantages of session?

656


When maintaining session through sql server, what is the impact of read and write operation on session objects?

527


What is asp net_sessionid?

631


What will happen if the server confugration file and the application confugration file have different values for sassion state ASP.NET?

741


When you use Ajax controls in the ASP.NET application?

558