How to reduce the Page size in asp.net?

Answer Posted / pandi g s

1. Use ordinary HTML control instead of Server control if
used for display purpose
2. Disable the vieestate of the control if controls need
not to retain values across postback
3. Use data repeater instead of gridview since repeater
render less HTML

Is This Answer Correct ?    5 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the types of caching in asp.net?

555


What are the advantages of Web API?

636


What are Session states available and its Uses?

1697


Are xaml file compiled or built on runtime?

558


Explain how is a property designated as read-only?

553






9. Why should we hire you over the others waiting to be interviewed?

2138


What is the recommended approach for asp.net mvc to globally intercept exceptions? What other functionality can be implemented with the approach? : Asp.Net MVC

502


How to retrieve user name in case of Window Authentication?

279


What’s the use of “GLOBAL.ASAX” file?

600


Who generates session id?

491


Name the tools or API for developing or testing web api?

532


What are the different types of events are occured when a client requests an ASP.NET page from IIS server?

583


How many types of validation are there?

527


Define page output caching?

576


Is it possible to develop a single web application using ASP.NET webforms and ASP.MVC?

600