473,414 Members | 1,705 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,414 software developers and data experts.

Execute server code without complete page refresh (XMLHTTP)

Is there a way to execute server code without doing a complete page
refresh in .Net? I have an ASP page to convert that uses XMLHTTP and I'm
wondering if I should continue to use it in ASPX or do something else.

The XMLHTTP is used in ASP to populate drop down boxes based on user
input without having to send the entire page contents back and forth to
the server. Our remote users have slow connections so it really helps to
keep the amount of data going back and forth to the server as small as
possible. The ASP page in question has a lot of information on it so
sending the entire page back and forth makes it painfully slow to the
users.

To summarize, my goal is to refresh or repopulate drop down lists
without having to do a complete refresh of the entire page.

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 18 '05 #1
3 2428
I have read and seen some examples of using JavaScript behaviors to talk
with Web Services via JavaScript. Wish I could give you a reference.

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Big things are made up
of lots of little things.

"Matt" <mc************@hotmail.com> wrote in message
news:eI**************@TK2MSFTNGP09.phx.gbl...
Is there a way to execute server code without doing a complete page
refresh in .Net? I have an ASP page to convert that uses XMLHTTP and I'm
wondering if I should continue to use it in ASPX or do something else.

The XMLHTTP is used in ASP to populate drop down boxes based on user
input without having to send the entire page contents back and forth to
the server. Our remote users have slow connections so it really helps to
keep the amount of data going back and forth to the server as small as
possible. The ASP page in question has a lot of information on it so
sending the entire page back and forth makes it painfully slow to the
users.

To summarize, my goal is to refresh or repopulate drop down lists
without having to do a complete refresh of the entire page.

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!

Nov 18 '05 #2
http://tinyurl.com/yqlj5
is a good link

--
Regards,
Alvin Bruney
Got tidbits? Get it here...
http://tinyurl.com/3he3b
"Kevin Spencer" <ke***@takempis.com> wrote in message
news:uN**************@tk2msftngp13.phx.gbl...
I have read and seen some examples of using JavaScript behaviors to talk
with Web Services via JavaScript. Wish I could give you a reference.

--
HTH,
Kevin Spencer
.Net Developer
Microsoft MVP
Big things are made up
of lots of little things.

"Matt" <mc************@hotmail.com> wrote in message
news:eI**************@TK2MSFTNGP09.phx.gbl...
Is there a way to execute server code without doing a complete page
refresh in .Net? I have an ASP page to convert that uses XMLHTTP and I'm
wondering if I should continue to use it in ASPX or do something else.

The XMLHTTP is used in ASP to populate drop down boxes based on user
input without having to send the entire page contents back and forth to
the server. Our remote users have slow connections so it really helps to
keep the amount of data going back and forth to the server as small as
possible. The ASP page in question has a lot of information on it so
sending the entire page back and forth makes it painfully slow to the
users.

To summarize, my goal is to refresh or repopulate drop down lists
without having to do a complete refresh of the entire page.

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!


Nov 18 '05 #3
Interesting idea. I'm still looking for a good example that shows more
than adding two numbers and showing the result in an Alert window.

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 18 '05 #4

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

Similar topics

4
by: Fred | last post by:
I have read and tried every combination for hours. I'm sorry, but I don't get it. How do I have a form with textboxes and buttons and allow click events to execute a server function then display...
3
by: Metnetsky | last post by:
I'd like to build a function that is executed when someone clicks on an image. Once clicked, I need some parameters passed to a URL which PHP will accept and deal with database connections. ...
4
by: Mel | last post by:
i would like to have a link, such that when the user clicks on it, a script is fired to go to server and check for page updates, if any, it should request a reload, else stay silend (terminate) ...
5
by: zorhel | last post by:
Hi. My clients will be IE, Mozilla and Opera in a Windows and *nix OS. So, my web app need to, from a server, send messages to a specific client (browser), send messages for all clients,...
1
by: Daylor | last post by:
hi. i want to display page. then check every 10 seconds from the client, if a value in the server is changed WITHOUT RELOADING THE ALL PAGE. if value has change, i want the client to reload...
4
by: batista | last post by:
Hello All, my prob. is that i have a web server, and i want it to send fresh data,whenver it is available(from sum other source), to a webpage. Now i used refresh, but i want to use an...
7
by: Tony Girgenti | last post by:
Hello. I'm trying to undetrstand ASP.NET 2.0 and javascript. When i have a button and i click on it and i see the web broswer progress bar at the bottom do something, does that mean that there...
11
nathj
by: nathj | last post by:
Hi, I have a strange problem, my code is running too quickly. Allow me to explain (if I can). I am using the XMLHTTP object in order to query the database as a user completes the membership...
9
by: RN1 | last post by:
When a server encounters the line Response.Redirect("abcd.asp") in a ASP script, the server tells the browser that it has to be redirected to another page (which is abcd.asp, in this case)....
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.