473,385 Members | 1,856 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.

server controls in datagrid taking long to draw

I designed a datagrid with editable server controls such as text boxes,
dropdowns in each row. That way, the user does not have to click "Edit" to
get the editable controls.

And with one save button, I loop through each item, FindControl on each
field, and save all the records displayed by the datagrid on one swoop.

The problem is, it takes a looong time to draw the server control initially
since all rows have to be populated with controls. Is there a way to speed
this up?
Nov 19 '05 #1
2 1263
Check of Cache functionality of ASP.NET It's pretty powerful!

There are different sorts of Caching, some for a whole page, some for parts
of a page.. and you specify that in different pages..

/Lars
"David C" <no****@nospam.com> wrote in message
news:%a******************@twister.socal.rr.com...
I designed a datagrid with editable server controls such as text boxes,
dropdowns in each row. That way, the user does not have to click "Edit"
to
get the editable controls.

And with one save button, I loop through each item, FindControl on each
field, and save all the records displayed by the datagrid on one swoop.

The problem is, it takes a looong time to draw the server control
initially
since all rows have to be populated with controls. Is there a way to
speed
this up?

Nov 19 '05 #2
I thought about that, but that won't help with the initial loading, would
it? First it will have to load, and then cache. Correct?


There are different sorts of Caching, some for a whole page, some for parts of a page.. and you specify that in different pages..

/Lars
"David C" <no****@nospam.com> wrote in message
news:%a******************@twister.socal.rr.com...
I designed a datagrid with editable server controls such as text boxes,
dropdowns in each row. That way, the user does not have to click "Edit"
to
get the editable controls.

And with one save button, I loop through each item, FindControl on each
field, and save all the records displayed by the datagrid on one swoop.

The problem is, it takes a looong time to draw the server control
initially
since all rows have to be populated with controls. Is there a way to
speed
this up?


Nov 19 '05 #3

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

Similar topics

6
by: Andreas Lauffer | last post by:
I changed from Access97 to AccessXP and I have immense performance problems. Details: - Access XP MDB with Jet 4.0 ( no ADP-Project ) - Linked Tables to SQL-Server 2000 over ODBC I used...
16
by: Justin Lazanowski | last post by:
Cross posting this question on the recommendation of an I have a .NET application that I am developing in C# I am loading information in from a dataset, and then pushing the dataset to a grid,...
15
by: Michael Rybak | last post by:
hi, everyone. I'm writing a 2-players game that should support network mode. I'm now testing it on 1 PC since I don't have 2. I directly use sockets, and both client and server do...
8
by: Inigo Jimenez | last post by:
I have an ASP .net web application installed in a Windows 2003 server. This web application has a webform that has a Datagrid. This Datagrid is filled with the data of a SQL table. I have a...
1
by: Ryan McLean | last post by:
Hi everyone! What is happening is the method: sub_btnSubmitClicked is being executed every time any other object with a Handler is executed. I am trying not to use the withevents and handles...
4
by: Steve Bywaters | last post by:
(In my transition from ASP to ASP.NET) *When* would I use at "runat server" tag on a button, as opposed to a normal button? If I set up a search area on a page, with a 'Search' button that...
2
by: Jobs | last post by:
Download the JAVA , .NET and SQL Server interview with answers Download the JAVA , .NET and SQL Server interview sheet and rate yourself. This will help you judge yourself are you really worth of...
17
by: Blau | last post by:
I'm trying to use the System.Windows.Controls namespace, but when I try to add a reference to it I don't see it in the list. I see a System.Windows.Forms, but not a System.Windows.Controls. Can...
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: 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...
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
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...

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.