Formview - Heavy?

  • Thread starter Thread starter Geo
  • Start date Start date
G

Geo

Hi, I use formview and detailsview very often. I heard that they slow down
the page. Is it true? I use them to make the page more user friendly.
 
I don't see why they would be any slower than any other control to render.

I'd be more concerned about how you are going about getting the data for
these controls to bind to than using the controls as the UI element at the
end of the processing.
 
Hi, Comparing other pages with mine, i dont see any performance issue. Let me
give you an example to make myself clear.

Formview - I have ItemTemplate, EditTemplate and InsertTemplate. Each of
them have 3 sets of controls.I get the data on page load and bind to the
respective controls in the ModeChanging event.

Let me know your resposne..
 
Again, I don't see why this would cause any kind of problem. All this stuff
just gets rendered to the client as HTML/Text/CSS. The amount of data you
are sending down would be the thing that has the most impact on performance
in the data delivery stage.
 
It boils down to good design practices. I guess if you have a number of
template fields with dropdowns and what not you must exercise good common
sense when designing your page but that would be true no matter what.
 
Back
Top