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

ASP.NET AJAX Synchronous calls

In AjaxPro, if you leave out the Callback parameter, it becomes a
synchronous call. Is it possible to perform a synchronous call with
ASP.NET AJAX?

Please limit responses to the question posed...let's leave the
discussions of why not async, or what does the "A" mean for another
thread.

Thanks for any help and examples of how to do it.
Jun 27 '08 #1
2 1743
Not that I know of, but you can put up a modal control, if your reason is to
stop the user from working with the page prior to the call being returned
(or hide divs?).

--
Gregory A. Beamer
MVP, MCP: +I, SE, SD, DBA

Subscribe to my blog
http://gregorybeamer.spaces.live.com/lists/feed.rss

or just read it:
http://gregorybeamer.spaces.live.com/

*************************************************
| Think outside the box!
|
*************************************************
<ng**@gvn.comwrote in message
news:ad**********************************@x41g2000 hsb.googlegroups.com...
In AjaxPro, if you leave out the Callback parameter, it becomes a
synchronous call. Is it possible to perform a synchronous call with
ASP.NET AJAX?

Please limit responses to the question posed...let's leave the
discussions of why not async, or what does the "A" mean for another
thread.

Thanks for any help and examples of how to do it.

Jun 27 '08 #2
Just noticed the end tag to your post.

As examples, I would look at the ASP.NET examples at
http://www.asp.net/AJAX/AjaxControlToolkit/Samples/

While the ModalPopup will not solve all of your needs, it can be "reverse
engineered" to understand the mechanism. You can also look at modal
JavaScript like:
http://www.eggheadcafe.com/articles/...dal_dialog.asp

--
Gregory A. Beamer
MVP, MCP: +I, SE, SD, DBA

Subscribe to my blog
http://gregorybeamer.spaces.live.com/lists/feed.rss

or just read it:
http://gregorybeamer.spaces.live.com/

*************************************************
| Think outside the box!
|
*************************************************
"Cowboy (Gregory A. Beamer)" <No************@comcast.netNoSpamMwrote in
message news:OX**************@TK2MSFTNGP04.phx.gbl...
Not that I know of, but you can put up a modal control, if your reason is
to stop the user from working with the page prior to the call being
returned (or hide divs?).

--
Gregory A. Beamer
MVP, MCP: +I, SE, SD, DBA

Subscribe to my blog
http://gregorybeamer.spaces.live.com/lists/feed.rss

or just read it:
http://gregorybeamer.spaces.live.com/

*************************************************
| Think outside the box! |
*************************************************
<ng**@gvn.comwrote in message
news:ad**********************************@x41g2000 hsb.googlegroups.com...
>In AjaxPro, if you leave out the Callback parameter, it becomes a
synchronous call. Is it possible to perform a synchronous call with
ASP.NET AJAX?

Please limit responses to the question posed...let's leave the
discussions of why not async, or what does the "A" mean for another
thread.

Thanks for any help and examples of how to do it.


Jun 27 '08 #3

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

Similar topics

4
by: keyofdminor | last post by:
Folks, Short version: Has anyone tried a synchronous call ("SJAX") to a server with the Prototype library? I'm curious if there is a bug in the library (possible) or if I am making mistake...
1
by: AECL_DEV | last post by:
Hello Everyone, Ive seen alot of people saying that the best way to AJAX Validate a form is through the submit button, because validation should be synchronous. Im wondering, is there any good...
3
by: OJ | last post by:
Hi, I have written a small C# 2.0 DLL which acts as a client to a Socket based server over the internet. I have written both synchronous and asynchronous methods to connect, send, and receive data...
4
by: evgenyg | last post by:
Hello ! We have the following situation - when Ajax request is sent what's being returned by the server is usually an XML (which is used for DOM updates) but sometimes it's HTML which is a whole...
2
by: dmagliola | last post by:
Hello all, I'm experiencing a problem with ASP.Net for which I can't find a reasonable explanation, or any information. I'm currently developing an application that, through AJAX, asks the...
17
by: Arjen | last post by:
Hi, I want to reload 2 divs at one click. Ive tried: <a href = "javascript:void(0);"...
3
by: mazdotnet | last post by:
Hi guys, On my work computer I had VisualStudio 2005, AJAX 1.0 and AJAX toolkit installed. 2 days ago I installed VisualStudio 2008 and every AJAX test that I do (IIS), does a postback. When I...
7
by: Andrew Poulos | last post by:
If I have code that looks like this ajax = function(str) { var val = ""; // do some stuff here return val; }; var foo = ajax("string");
29
by: zalek | last post by:
I am writing application with Ajax in sync mode - xmlHttp.open("GET", url, false). I noticed that in FireFox handler doesn't starts. It starts when I use xmlHttp.open("GET", url,true). I need to...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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...

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.