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

How you will improve web application performance?

551


How can you pass multiple complex types in Web API?

576


What is a user developed application?

527


Where is session data stored in asp net?

515


How asp.net mvc differs from asp.net web forms? : asp.net mvc

553






What is an example of an application service provider?

453


What is difference cookie and session?

525


Is LINQ performance wise better or using sqlcommand?

4336


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

526


How do you use viewstate?

554


What are the cookies types in asp.net?

557


What is the difference between c# and .net?

579


What is difference between ispostback and autopostback in asp net?

516


What are the asp.net 2.0 features?

549


How does asp page work?

546