What is the use of directives & explain with example?

Answer Posted / guest

Directive Specifies settings used by the page and user
control compilers when they processes ASP.NET Web Forms
page (.aspx) and user control (.ascx) files.


< @Page Attributes..... /> contain specific attributes for
page
< @Import Attributes...../> contain specific attributes
for include libraries
< @Register Attributes...../> contain specific attributes
for control to be register for ther perticular page

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is page request in asp.net?

624


Explain model, view and controller represent in an mvc application? : asp.net mvc

594


Why would a company use an application service provider?

579


What is a postback url?

571


Describe a Windows Service and its lifecycle ?

721






What is the viewstate in asp.net?

662


Define data caching?

620


What is the difference between the response.write() and response.output.write() methods?

611


What are the major built-in objects in ASP.NET?

676


Can we store object in viewstate?

630


What are triggers of an updatepanel?

637


What is the purpose of asp.net?

633


How tooltip is set through code-behind in ASP.NET?

672


What is the flow of processing of the request? : asp.net mvc

596


How to use ipostback?

669