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

How can you register a custom server control to a web page?

653


Explain Session state management options in ASP.NET.

722


Explain the difference between the web config and machine config.

716


In What Order Do The Events Of An Aspx Page Execute. As A Developer Is It Important To Undertsand These Events?

677


How many validators do ASP.NET have?

687






What does passport and windows authentication mean in ASP.NET?

747


How does session work?

588


Explain the different parts that constitute ASP.NET application?

648


How long does an http session last?

602


How to create events for a control?

635


What are tuples?

628


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

611


How can we register exception filter from the action?

753


Explain diff. Between friend and protected friend?

588


What is difference between view state and session state?

569