Formview - Heavy?
am 28.01.2008 22:44:03 von GeoHi, 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.
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.
"Geo"
news:2EF6B0AA-E4F4-4C3A-8579-DDD78EF08C20@microsoft.com...
> 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.
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..
"Scott M." wrote:
> 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.
>
>
>
> "Geo"
> news:2EF6B0AA-E4F4-4C3A-8579-DDD78EF08C20@microsoft.com...
> > 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.
>
>
>
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.
"Geo"
news:D55D0AE8-9617-4249-9473-638FEFD2A8FC@microsoft.com...
> 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..
>
>
> "Scott M." wrote:
>
>> 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.
>>
>>
>>
>> "Geo"
>> news:2EF6B0AA-E4F4-4C3A-8579-DDD78EF08C20@microsoft.com...
>> > 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.
>>
>>
>>
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.
--
aaa
"Geo" wrote:
> 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.