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
What is & in a url?
Define data caching?
What is gridview in asp.net?
What is content page in asp net?
What is viewstate? What does the "enableviewstate” property do? Whay would I want it on or off?
What is the adavantage of using ASP.NET routing?
Can you explain autopostback?
How do you design a website with multilingual support in ASP.NET ?
What is cached data phone?
What is inproc and outproc?
Describe briefly what is the role of IIS on an ASP.NET application? What does it for the same application?
Explain in what order a destructors is called.
What are web server controls in asp.net?
Explain asp.net page life cycle?
Differentiate between file-based dependency and key-based dependency.