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
How much is the pay-for-use service if I chose not to use microsoft-sponsored advertising?
What are the different methods of session maintenance in asp.net?
What is ashx file in asp.net?
What are the different types of cookies in asp.net?
If 200 is for all successful operation then why do we have 201 response codes?
How could you modify xaml content from javascript?
If I am developing an application that must accomodate multiple security levels though secure login and my asp.net web application is spanned across three web-servers (using round-robin load balancing). What would be the best approach to maintain login-in state for the users?
How many types of validators are there in asp net?
What is difference between session and cookies?
What is a page life cycle? What are the events in a page life cycle?
What is custom attribute? How to create?
Explain code snippet to register exception filters from controller?
Explain some of the major built-in objects in asp.net
What is state management techniques in asp.net?
Can we have a web application running without web.config file?