473,396 Members | 1,726 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

datagrid viewstate and performance

Stu
Hi,

I have a datagrid which could contain a large volume of data
I want to be able to highlight a row and click a calculate button.
Obviously the calculate button will cause a form postback and
reload all the data.
Saving the viewstate could also cause performance problems as it could
be large.

Is there any way I could on postback keep the data there but just change the
data on the row im on. Client callback feature in ASP 2 is not an option at
the moment

TIA

Stu

Nov 19 '05 #1
4 1324
Stu,

Are you sure you need to postback? Can't you calculate on the client?

Eliyahu

"Stu" <St*@discussions.microsoft.com> wrote in message
news:CD**********************************@microsof t.com...
Hi,

I have a datagrid which could contain a large volume of data
I want to be able to highlight a row and click a calculate button.
Obviously the calculate button will cause a form postback and
reload all the data.
Saving the viewstate could also cause performance problems as it could
be large.

Is there any way I could on postback keep the data there but just change the data on the row im on. Client callback feature in ASP 2 is not an option at the moment

TIA

Stu

Nov 19 '05 #2
Stu,

Are you sure you need to postback? Can't you calculate on the client?

Eliyahu

"Stu" <St*@discussions.microsoft.com> wrote in message
news:CD**********************************@microsof t.com...
Hi,

I have a datagrid which could contain a large volume of data
I want to be able to highlight a row and click a calculate button.
Obviously the calculate button will cause a form postback and
reload all the data.
Saving the viewstate could also cause performance problems as it could
be large.

Is there any way I could on postback keep the data there but just change the data on the row im on. Client callback feature in ASP 2 is not an option at the moment

TIA

Stu

Nov 19 '05 #3
Stu
it needs to call a web service calculator and update the database so it can
display new values on
the screen
"Eliyahu Goldin" wrote:
Stu,

Are you sure you need to postback? Can't you calculate on the client?

Eliyahu

"Stu" <St*@discussions.microsoft.com> wrote in message
news:CD**********************************@microsof t.com...
Hi,

I have a datagrid which could contain a large volume of data
I want to be able to highlight a row and click a calculate button.
Obviously the calculate button will cause a form postback and
reload all the data.
Saving the viewstate could also cause performance problems as it could
be large.

Is there any way I could on postback keep the data there but just change

the
data on the row im on. Client callback feature in ASP 2 is not an option

at
the moment

TIA

Stu


Nov 19 '05 #4
Stu
it needs to call a web service calculator and update the database so it can
display new values on
the screen
"Eliyahu Goldin" wrote:
Stu,

Are you sure you need to postback? Can't you calculate on the client?

Eliyahu

"Stu" <St*@discussions.microsoft.com> wrote in message
news:CD**********************************@microsof t.com...
Hi,

I have a datagrid which could contain a large volume of data
I want to be able to highlight a row and click a calculate button.
Obviously the calculate button will cause a form postback and
reload all the data.
Saving the viewstate could also cause performance problems as it could
be large.

Is there any way I could on postback keep the data there but just change

the
data on the row im on. Client callback feature in ASP 2 is not an option

at
the moment

TIA

Stu


Nov 19 '05 #5

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

Similar topics

4
by: Stephen | last post by:
I have got an event below to remove items from an arraylist and then to rebind the arraylist to the datagrid subsequently deleting the appropriate row. My problem is that my code makes sense and I...
4
by: ETX | last post by:
Hello, My question is about the datagrid sorting. I have a datatable that is filled up with the data retrieved from an SQL query.I use that datatable as source for my datagrid. I would like to...
2
by: enak | last post by:
I can not get my datagrid to page. I have a datagrid that I can sort 2 of the columns. This works great. I added paging and when I display the dg it shows 5 pages. (I am showing page numbers at...
5
by: Alvin Bruney | last post by:
I have a server side datagrid control. I'd like to clear the grid before the post occurs using javascript. Anybody know how to do this? It would be a similar effect to binding to a null dataset in...
2
by: ddaniel | last post by:
I have read many posts and seen many papers on the different techniques for sort and filtering datagrids. Many do re-queries against the dB ala Fritz Onion. I am trying to leverage the Dataview....
4
by: Luis Esteban Valencia | last post by:
I have a asp.net page (C#), with a datagrid. I use template for all columns, and have <asp:requiredfieldvalidator> in with one of the textboxes, to make sure it's filled in. However, this...
6
by: sonic | last post by:
Hi, I am experimenting with different viewstate management ideas for large datagrids, and found a microsoft suggestion to turn it off, and only store relevant information by manually accessing...
0
by: Stu | last post by:
Hi, I have a datagrid which could contain a large volume of data I want to be able to highlight a row and click a calculate button. Obviously the calculate button will cause a form postback and...
5
by: tshad | last post by:
Is there a way to carry data that I have already read from the datagrid from page to page? I am looking at my Datagrid that I page through and when the user says get the next page, I have to go...
9
by: rn5a | last post by:
A Form has a DataGrid which displays records from a SQL Server 2005 DB table. Users can modify the records using this DataGrid for which I am using EditCommandColumn in the DataGrid. This is the...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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
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,...

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.