473,473 Members | 2,097 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Immediate Help needed - hyperlink vs Button

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.
Sep 19 '08 #1
2 810
"dinoo" <di***@discussions.microsoft.comwrote in message
news:BF**********************************@microsof t.com...
I am having a ASP.Net screen that displays around 10000 records on a page.
10,000 records on a single page? Surely not...! How long does the browser
take to render that amount of markup...?
--
Mark Rae
ASP.NET MVP
http://www.markrae.net

Sep 19 '08 #2
dinoo wrote:
>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.

Sep 19 '08 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Pat | last post by:
All, What I want to do: ******************* Click on a hyperlink in the last column in a datagrid, have it grab a value in the fourth column in the same row and send it to the codehind into a...
1
by: Joshua Weir | last post by:
Hi, I want to simply add hyperlink functionality to a normal web control button. I understand that i can use the hyperlink button for this but in this case i dont want to do this. Say i have...
0
by: Waran | last post by:
Hi, In a datagrid I am displaying 2 columns. One is a Hyperlink Colum and the other is a Button Column. The values for the hyperlink columns are fetched from the database and its a url. When I...
4
by: wrytat | last post by:
I have a form with a textbox for the user to enter a quantity and another textbox for the delivery date. I disabled this delivery date textbox such that the user has to press a calendar link next...
19
by: Joe | last post by:
I have an aspx page (referred to here as page_1) with a datagrid whose first column contains hyperlinks. When a user clicks one of these hyperlinks, he will navigate to another aspx page (referred...
4
by: sulemanzia | last post by:
I have a form with a Command button. i have a text box also which is bound to my Button. i have created a standard module and created an onclick event for my button which is something like this (...
2
by: =?Utf-8?B?Q2hhcnRz?= | last post by:
I have been writing C# programs to spider yellow page to get list of restaurant name, address to the database. When I encounter button or hyperlink, I don’t know how to use the program to click...
6
by: vspsdca | last post by:
Hi, I'm a newbie here and does not really have any formal training on VBA. I just need help to get my hyperlink to work. I have a form in MS Access with a browse button where a user can select a...
1
by: sivasrec | last post by:
Hi, This is sivakumar from India. Now I am learning to ASP.NET 2.0.. I have a doubt.... I have used in a one hidden field control, 2 label controls, 2 button controls and...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.