473,385 Members | 1,806 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,385 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 1322
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...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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...

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.