How to reduce the Page size in asp.net?




Answers were Sorted based on User's Feedback



How to reduce the Page size in asp.net?..

Answer / 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

How to reduce the Page size in asp.net?..

Answer / sagnikmukh

1) enableviewstate="false"
2) Reduce image size
3) Use external CSS
4) Use external JavaScript
5) GZIP & Minimize your assets
6)Use HTTP compression
7)Use light page layout


some ref: links :
http://www.dotnetfunda.com/articles/article793-reduce-aspnet-page-output-size-.aspx

http://www.codeproject.com/KB/aspnet/10ASPNetPerformance.aspx

http://www.dotnetfunda.com/articles/article793-reduce-aspnet-page-output-size-.aspx

Is This Answer Correct ?    3 Yes 1 No

How to reduce the Page size in asp.net?..

Answer / kinjal panchal

when u put image in your background then put it in a repeat
form.

Is This Answer Correct ?    0 Yes 1 No




How to reduce the Page size in asp.net?..

Answer / swathi

Using UpdatePanel,UserControls

Is This Answer Correct ?    8 Yes 23 No

Post New Answer



More ASP.NET Interview Questions

I have a textbox , assign required field validator and i have two buttons 1) save 2) cancel , i want the validator run only when i click save button, don't validate cancel button , what to do?

7 Answers   eMids, Infotech, Wipro, Integra, TCS,


Describe the two main components of the .NET framework ?

2 Answers  


web farm .. how does session shuld be stored... if inproc used? does the session persists from one server to other.

2 Answers   TCS,


Difference between Dataset and DataReader ?

4 Answers   Infosys, Accenture, Techseol,


if we establish the cinnection with connection string tag in web.config file,can i go for encrypt and decrypt with that?

1 Answers  






You are using the try? catch block seen in the following code segment, but no exceptions are ever caught by the catch block. What is the problem? SqlConnection cn =new sqlConnection(strSQL); SqlDataSet ds; try { cn.open(); //perform the data processing steps ??.. } catch (OleDbException e) { ?.. } a) The exception class is wrong; it should be sqlErrors. b) The exception class is wrong; it should be sqlSyntaxExceptios. c) The exception class is wrong; it should be sqlExceptions. d) The exception class is wrong; it should be sqlExcptions.

2 Answers   Syntax Softtech, Microsoft,


When would you not use the oleDbConnection object? a) To connect to an SQL 7.0 database. b) To connect to a DB/2 database. c) To connect to an Access database. d) To connect to an SQL 6.5 database.

6 Answers   Syntax Softtech,


What does WSDL stand for?

9 Answers  


I am having four text boxes in my web application. I am setting Required Field validator to each Text box. And I am having two buttons in my application. If i clicked the first button only first two text box validation will get fire. Dont show error message for remaining two text box. If i clicked second button last two text box validation will get fired. It will not consider the first two validation controls. That is how to enable and disable the validation controls.

4 Answers  


True or False: A Web service can only be written in .NET?

5 Answers  


best .net institute in hyderabad

7 Answers  


Where on the Internet would you look for Web services?

5 Answers   MNC, IBM,






Categories