Immediate Help needed - hyperlink vs Button

D

dinoo

I am having a ASP.Net screen that displays around 10000 records on a page. At
present I have "Edit" button next to each record.

Does any one have idea that instead of using a ASP Button if I use ASP link
to edit the record, would gain me any performance?
I do get some but not able to undetstand why?

I checked the GDI objects created by ASP Button control as oppose to Link,
but there is no much difference.

Any one has any idea whats going on here.
 
B

Ben Amada

dinoo said:
I am having a ASP.Net screen that displays around 10000 records on a page.
At
present I have "Edit" button next to each record.

Does any one have idea that instead of using a ASP Button if I use ASP
link
to edit the record, would gain me any performance?
I do get some but not able to undetstand why?

I checked the GDI objects created by ASP Button control as oppose to Link,
but there is no much difference.

Any one has any idea whats going on here.

If possible, I would try to reduce the number of records you're showing at a
single time. Maybe add paging or some way for the user to better filter the
amount of data shown on each page.

If you have viewstate enabled and the Edit button performs a post to the
server, the viewstate that is posted to the server is probably really large.
Most people don't have very fast upload speeds. This poor performance can
be improved by either not having viewstate turned on for the data you're
outputting, or using a hyperlink pointing back to the same page with the ID
of the record to be edited. This would perform a GET and avoid the large
viewstate post data back to the server.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,161
Messages
2,570,892
Members
47,431
Latest member
ElyseG3173

Latest Threads

Top