472,354 Members | 1,467 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,354 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 1224
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...
2
by: Kemmylinns12 | last post by:
Blockchain technology has emerged as a transformative force in the business world, offering unprecedented opportunities for innovation and efficiency. While initially associated with cryptocurrencies...
0
by: Naresh1 | last post by:
What is WebLogic Admin Training? WebLogic Admin Training is a specialized program designed to equip individuals with the skills and knowledge required to effectively administer and manage Oracle...
0
by: antdb | last post by:
Ⅰ. Advantage of AntDB: hyper-convergence + streaming processing engine In the overall architecture, a new "hyper-convergence" concept was proposed, which integrated multiple engines and...
1
by: Matthew3360 | last post by:
Hi there. I have been struggling to find out how to use a variable as my location in my header redirect function. Here is my code. header("Location:".$urlback); Is this the right layout the...
2
by: Matthew3360 | last post by:
Hi, I have a python app that i want to be able to get variables from a php page on my webserver. My python app is on my computer. How would I make it so the python app could use a http request to get...
0
by: AndyPSV | last post by:
HOW CAN I CREATE AN AI with an .executable file that would suck all files in the folder and on my computerHOW CAN I CREATE AN AI with an .executable file that would suck all files in the folder and...
1
by: Matthew3360 | last post by:
Hi, I have been trying to connect to a local host using php curl. But I am finding it hard to do this. I am doing the curl get request from my web server and have made sure to enable curl. I get a...
0
Oralloy
by: Oralloy | last post by:
Hello Folks, I am trying to hook up a CPU which I designed using SystemC to I/O pins on an FPGA. My problem (spelled failure) is with the synthesis of my design into a bitstream, not the C++...
0
by: Carina712 | last post by:
Setting background colors for Excel documents can help to improve the visual appeal of the document and make it easier to read and understand. Background colors can be used to highlight important...

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.