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. 2 1759
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.comwr ote in message
news:ad******** *************** ***********@x41 g2000hsb.google groups.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.
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.netNoS pamMwrote in
message news:OX******** ******@TK2MSFTN GP04.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.comwr ote in message
news:ad******** *************** ***********@x41 g2000hsb.google groups.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.
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
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 (probable).
Longer version:
|
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 way to validate a form field by field like AJAX
would do, but to keep it synchronous? i.e. one action, one validation.
Thanks,
|
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 from the
server. Each request/response can take upto 180 seconds. I am trying to
use the asyncronous calls in an ASP.NET C# 2.0 Webcontrol, which
displays the returned data. At the moment I am happily using the
asyncronous functions and events...
|
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 new page that should
replace an existing one. I.e when we issue an Ajax request we don't
know what will be returned and analyze the response to act accordingly.
Now, the way to replace the current document with a new one used to be
easy and...
|
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
server for updated information to show, and can also send information
to the server.
To do this, I have an XMLHttpRequest that queries an Asynchronous HTTP
| |
by: Arjen |
last post by:
Hi,
I want to reload 2 divs at one click. Ive tried:
<a href = "javascript:void(0);"
onclick="show('ajaxrequest.php?action=removefield','div1');show('ajaxrequest.php?action=reloaddiv2','div2')">verwijderen</a>
While both seperate actions work they dont when I put them together.
Anyone know how to fix this ?
My ajax.js with funcition show
|
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 open my test web
application using File System which uses the .NET server
(http://localhost:4791/AjaxTest2/) it works. However, when I open my
files by using IIS (http://localhost/AjaxTest2/), my application runs
fine except it does a post back...
|
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");
|
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 use it in sync mode. Any ideas what can I do?
Thanks,
Zalek.
|
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
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,...
| |
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
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...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
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...
| |