Answer Posted / praveen
@ Assembly
Links an assembly to the current page or user control
declaratively.
@ Control
Defines control-specific attributes used by the ASP.NET
page parser and compiler and can be included only in .ascx
files (user controls).
@ Implements
Indicates that a page or user control implements a
specified .NET Framework interface declaratively.
@ Import
Imports a namespace into a page or user control explicitly.
@ Master
Identifies a page as a master page and defines attributes
used by the ASP.NET page parser and compiler and can be
included only in .master files.
@ MasterType
Defines the class or virtual path used to type the Master
property of a page.
@ OutputCache
Controls the output caching policies of a page or user
control declaratively.
@ Page
Defines page-specific attributes used by the ASP.NET page
parser and compiler and can be included only in .aspx files.
@ PreviousPageType
Creates a strongly typed reference to the source page from
the target of a cross-page posting.
@ Reference
Links a page, user control, or COM control to the current
page or user control declaratively.
@ Register
Associates aliases with namespaces and classes, which
allow user controls and custom server controls to be
rendered when included in a requested page or user control.
| Is This Answer Correct ? | 11 Yes | 0 No |
Post New Answer View All Answers
How do you do client-side validation in .net? How to disable validator control by client side javascript?
Is session stored in browser?
What is different authentication mechanisms used in ASP.NET?
Why viewstate is used in asp.net?
What is enableviewstate?
What are ASP.NET Web Forms? How is this technology different than what is available though ASP?
Explain about Multi-Language integration?
How to implement role based security in asp.net mvc? : Asp.Net MVC
How do you initiate validation on the server manually? What are two situations when you might you want to do that?
What is the latest version of asp.net?
What is the difference between page-level caching and fragment caching?
What is sql data source control in asp.net?
Explain ViewState?
What is session in asp.net?
How to unit test Web API?