Whats the use of @ Register directives ?
Answers were Sorted based on User's Feedback
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 |
Answer / minhajul islam
It is used to register user or 3rd control into asp.net web
page.
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / 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 |
Answer / srikanth
Its Only to add Web User Control Page to Normal Asp.Net Page in Source Code...
| Is This Answer Correct ? | 0 Yes | 1 No |
When would you set this property to false?
hi wrever i go thy r asking depth abt 3-tier architecture i.e, hw to deploy 3 layers into 3 servers i do nt have much idea on deployment. can any one send me the tips or code if u hav kindly mail me.
Explain difference between dataset and recordset?
What is an assembly? Explain its parts.
Is asp.net and .net same?
Explain authentication levels in .net ?
How does session state work in asp.net?
What is asp.net version?
How to store checkbox value in database in asp.net mvc? : Asp.Net MVC
What is form method?
what is meant by sitemapnode ?
What is work flow gen? how can it will work with .Net?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)