473,320 Members | 2,107 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,320 software developers and data experts.

server controls vs traditional

guys im building an application, that franky is pretty huge when it comes to controls.
about 320 total dropdown list boxes will be populating the same amt of textboxes.
and going to the server really isnt necessary until it's time to write to the database.

my question is, for performance, would it be better to leave these as non <asp:net/>
controls to reduce the constant roundtrips.

i basically built 1/10 of the application using all server controls and it worked excellent, but now that ive expanded it to accomodate 10 employees rather than one, i can see a noticeable difference.

im on a T3 at work, so, im sure im getting the best response vs some of the employess in the field across the US, that most likely would be using this app on a much less powerful pipe.
any feedback is appreciated.

thanks again
rik

************************************************** ********************
Sent via Fuzzy Software @ http://www.fuzzysoftware.com/
Comprehensive, categorised, searchable collection of links to ASP & ASP.NET resources...
Nov 19 '05 #1
3 1016
Rik,

What do you mean by "constant roundtrips"? Are you doing autopostbacks each
time they select from a list? If not, there shouldn't be that big a
difference. The controls are rendered to the client the same way regardless,
and that they're server controls means mostly that the server can handle
events for them (in addition to some other overhead), but there shouldn't be
that many. If all the entries are coming from listboxes I would guess there's
not much validation that has to happen either.

320 controls is a lot, server or otherwise, and if there's a long list in
each one then that's a ton of data for your web server to serve up
regardless. Rather than look at the bandwidth, you might look at server ram,
and presuming the source for your listboxes is the same across users, you
might also use the application cache.

hth,

Bill

"rik butcher" wrote:
guys im building an application, that franky is pretty huge when it comes to controls.
about 320 total dropdown list boxes will be populating the same amt of textboxes.
and going to the server really isnt necessary until it's time to write to the database.

my question is, for performance, would it be better to leave these as non <asp:net/>
controls to reduce the constant roundtrips.

i basically built 1/10 of the application using all server controls and it worked excellent, but now that ive expanded it to accomodate 10 employees rather than one, i can see a noticeable difference.

im on a T3 at work, so, im sure im getting the best response vs some of the employess in the field across the US, that most likely would be using this app on a much less powerful pipe.
any feedback is appreciated.

thanks again
rik

************************************************** ********************
Sent via Fuzzy Software @ http://www.fuzzysoftware.com/
Comprehensive, categorised, searchable collection of links to ASP & ASP.NET resources...

Nov 19 '05 #2
hey bill, yes that's exactly what its doing. each dropdown box is set to autopostback to immediately populate the textboxes.
and i was reading about application cache and maybe that's the ticket to the whole thing.
im not an old classic asp coder like much of the rest of the world. i was in oracle and just got into vb.net last summer and now of course asp.net, so it's all new to me.
thanks again for your suggestions and response
rik

************************************************** ********************
Sent via Fuzzy Software @ http://www.fuzzysoftware.com/
Comprehensive, categorised, searchable collection of links to ASP & ASP.NET resources...
Nov 19 '05 #3
> my question is, for performance, would it be better to leave these as non
<asp:net/>
controls to reduce the constant roundtrips.
No. ASP.Net is object-oriented, and every scrap of HTML on the client is
generated by server controls, even literal HTML. You should definitely
optimize your code as much as possible, but not by breaking the model.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
Neither a follower nor a lender be.

"rik butcher" <rb****@coair.com> wrote in message
news:eb**************@TK2MSFTNGP10.phx.gbl... guys im building an application, that franky is pretty huge when it comes
to controls.
about 320 total dropdown list boxes will be populating the same amt of
textboxes.
and going to the server really isnt necessary until it's time to write to
the database.

my question is, for performance, would it be better to leave these as non
<asp:net/>
controls to reduce the constant roundtrips.

i basically built 1/10 of the application using all server controls and it
worked excellent, but now that ive expanded it to accomodate 10 employees
rather than one, i can see a noticeable difference.

im on a T3 at work, so, im sure im getting the best response vs some of
the employess in the field across the US, that most likely would be using
this app on a much less powerful pipe.
any feedback is appreciated.

thanks again
rik

************************************************** ********************
Sent via Fuzzy Software @ http://www.fuzzysoftware.com/
Comprehensive, categorised, searchable collection of links to ASP &
ASP.NET resources...

Nov 19 '05 #4

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

Similar topics

1
by: Ralph Krausse | last post by:
I know more html is needed to really produce this but enough is here for me to ask my question. So, this HTML code produce 2 buttons. One button is a HTML control and the other is ASP Web or Server...
4
by: Keith Chadwick | last post by:
I have several small pieces of common code that get applied to each page. Which is better a better way of including them in other pages? Use the traditional include statement or go with the...
3
by: Larry | last post by:
Hi, I need a method to dynamically include a server side include in my asp.net page. The problem is, the include file contains asp.net controls, and I can't find a way to get the controls to...
0
by: jdn4929 | last post by:
The state server has closed an expired TCP/IP connection. The IP address of the client is 127.0.0.1. The expired Read operation began at 11/16/2007 14:31:49. This one has been bothering me for...
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...
8
by: =?Utf-8?B?U2hhd24gUmFtaXJleg==?= | last post by:
I am coming at the world from the standpoint of a veteran ASP Classic developer. I am not clear on the advantages of using the ASP.NET control over standard HTML control. With the ASP.NET...
1
by: Deane | last post by:
I've run into this problem on many occasions -- I need to have the server side form tag on my Web form, of course. But I also need to have *another* form on the page that posts to a URL...
19
by: ThatsIT.net.au | last post by:
I come from a classic asp background, but have started using ASP.NET about 12 months ago, but I'm still not sure about the pros and cons of using controls v HTML spat out from code as you would in...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.