server controls in datagrid taking long to draw

  • Thread starter Thread starter David C
  • Start date Start date
D

David C

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?
 
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
 
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?
 
Back
Top