473,836 Members | 1,563 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 2448
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******** ******@TK2MSFTN GP09.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******** ******@tk2msftn gp13.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******** ******@TK2MSFTN GP09.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
2433
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 a property on the client? Here is code, albeit changed to show both paths I have tried to follow, neither of which works. I also can't seem to find out how to trap for the errors so I can see what's going wrong. <%@ Language=VBScript %>
3
4594
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. Sounds simple, and is simple. The only thing that stumps me is that I do not want that PHP page loaded anywhere that someone would see it. And preferably no frames if possible. Any suggestions? ~ Matthew
4
2619
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) is such thing possible ? thanks
5
4860
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, redirect a client to another page. In other way, a client will be able to send messages to another client, throw the server. These are the first funcionalities.
1
1264
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 the page again.
4
3159
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 alternative. I heard that refresh is called pull scheme, and the one i'm looking for is caled push scheme.
7
3367
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 is postback occurring? Does that mean a round trip to the server occurred? I keep reading javascript articles and tutorials that say "improve the client-side experience to be more responsive and quicker", but the articles
11
3512
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 application form, basically I want to ensure that each username is unique. I have the code to check this and the XMLHTTP object is working fine. However, before the code finishes executing the next part of the function is run. this means that the...
9
4355
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). The browser then makes a new request to the server to redirect itself to abcd.asp after which the user gets redirected to abcd.asp. But in case of Server.Execute (or Server.Transfer), when the server
0
9658
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10534
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
10244
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7775
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5644
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5814
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4444
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
4004
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3103
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.