Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Nov 13, 2012 11:58 AM by Ruchira
Nov 12, 2012 10:07 PM|LINK
using asp.net/vb.net 2010
I have a page that loads a gridview and noticed that the pageload is extremely slow, up to 1 minute. what is the best way to troubleshoot slow page performance? the stored procedure returns data very quickly but the page still loads slow from my machine.
I am thinking first to put a breakpoint in the pageload and step through to find out which part of the pageload code is making the page load so slow. any other good ideas? thanks
Nov 12, 2012 10:27 PM|LINK
I think more information is needed to provide a solution such as how many records are loaded, etc. As a possible option, if there are no values to be posted back, you can disable view state on grid view.
And before that check if the grid binding is causing the issue by placing a response.write datetime before and after binding the grid. It might give other input as well.
Nov 12, 2012 10:47 PM|LINK
How much data is being returned?
If you view the html source code, how much whitespace do you see?
Nov 13, 2012 12:23 AM|LINK
1. Set allowpaging="true"
2. Use sqldatasource
3. If any calculation, logic use rowdatabound event
Nov 13, 2012 09:14 AM|LINK
use YSlow to get to know where exactly your page is going slow...
Nov 13, 2012 11:58 AM|LINK
any other good ideas?
Check the below link
Please 'Mark as Answer' if this post helps you.