Showing posts with label explain. Show all posts
Showing posts with label explain. Show all posts

Monday, March 26, 2012

Callback

Hi ,

any body can explain about CALLBack

Here is a simple code that shows how callbacks can be implemented in Ajax in .NET 2.0

http://www.codeproject.com/Ajax/ContextSensitiveHelp.asp

HTH

VJ


did u have any idea about the aborting a web request ?


Hi

Is this a related question? I am unable to relate callbacks to aborting a web request. Could you explain that further.


ok , in my web application we are having two buttons (titled as 'Generate Reports' ,'Cancel') whenever the user click 'Generate Report' button my application fetch the data from database and display it in a webpage , meanwhile if the user clicks 'cancel' button the webrequest have to be canceled and the old state of the web page to be maintian as it is .


Hi

I figured that it was a different question and trying to answer that with others on your other post. Meanwhile let me know if the callback part (which this query) answered your query or do you need any more input ?


Hi all,

Here is a quite good article forCallBack.

Best regards,

Jonathan

Saturday, March 24, 2012

Call a web service

Can somebody explain, is it possible to call a web service which NOT located in the same project as atlas without creating a "bridge"??

Only if that service uses the same virtual directory or *host* location.

So, if the host of the virtual directory or project is:

http://MyHost/..... (where MyHost is your virtual directory/host)

and when you access the service that "host" is not different in anyway, then yes you can. If the host is different or even if there is a port appended to it like:

http://MyHost:1234/... then you will need some sort of bridge.

Note that the example above may work on IE6, but will fail on IE7 and Firefox. This is a limitation of the XMLHttp request object that is the basis for the web service access mechanism.

You could have a different project that exists within a sub-directory of another project which would therefore have the same host name and so would work. But again, if you created a new virtual directory for this sub directory and give it a different host name, then no, it wont work without bridging or writing a custom service to do it for you.


Thx, it was very valuable information.