Re: Please Wait Image Control

Tech-Archive recommends: Fix windows errors by optimizing your registry



Is it possible you could give me an example of the calling code. Can you
set multiple update panels to trigger when a page loads? I'm not sure how
to implement your suggestion.

TIA

MattC


"Siva M" <shiva_sm@xxxxxxxxxxxxxxxxx> wrote in message
news:42819997-E061-4EED-B60D-C1F0132AF8A6@xxxxxxxxxxxxxxxx
Yes, it is tied to UpdatePanel. I assume you would use one for dynamic
image
fetching from your web service?

"MattC" wrote:

Doesn't the UpdateProgress control fire in reaction to an UpdatePanels
postback event?

The UpdatePanel wont be posting back as the code to get the image is set.

MattC

"Siva M" <shiva_sm@xxxxxxxxxxxxxxxxx> wrote in message
news:216908F6-263D-48BA-8AB2-B7D887D58C43@xxxxxxxxxxxxxxxx
ASP.NET AJAX has support for both 'in progress' indication as well as
connecting to web services. For UpdateProgress see
http://ajax.asp.net/docs/tutorials/IntroductionUpdateProgress.aspx

For web service interaction from ASP.NET AJAX:
http://ajax.asp.net/docs/tutorials/ASPNETAJAXWebServicesTutorials.aspx

Hope this helps?

"MattC" wrote:

Hi,

I have a webservice that returns a byte[] for an image. I'd like to
disaplay an image while the webservice is being contacted and then
once
the
byte[] is available show that and remove the please wait image.

I was thinking of trying to use the CallBack mechanism but wondered if
AJAX
would be better suited.

I'd really just appreciate some ideas on how this could be acheived.
I'll
need to do this many times on a page hence why I want to make each
call
asychronous.

TIA

MattC








.



Relevant Pages

  • Re: What design pattern(s) to use here?
    ... There is a class "ClassA" with some properties & a method ... in the web service method itself a kind of stand-in for the original user as ... Please stop using the term "Facade." ... way to "fool" the calling code because it thinks that it is using one ...
    (comp.software.patterns)
  • Re: returning custom class from web service
    ... I can't help you with being able to call public functions. ... As far as returning the class, in your calling code, you can't ... refer to the class assembly itself like you do in your web service. ... Also I want to call public functions of that type at client ...
    (microsoft.public.dotnet.framework.aspnet.webservices)
  • Webservice that references other .Net libraries
    ... I have a web service and it is going fine until I call a method that returns ... The problem is my calling code doesn't know anything about the class that ... the classes/objects being returned by the consumed web-service? ... Prev by Date: ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: code access security across the network
    ... There is no reliable way to identify calling code over a network. ... used to identify the caller can be spoofed by a malicious caller. ... your efforts would be better placed on ensuring that your web service ... this would involve not trusting self-declared client user ...
    (microsoft.public.dotnet.security)
  • Re: How to return XML Document from web service.
    ... then your web service returns an XMLDocument. ... the calling code would look something like: ... Dim xmlDoc As Xml.XmlDocument = ws.someMethodThatReturnsAnXMLDocument ... Public Function GetWebOrdersAs XmlDocument ...
    (microsoft.public.dotnet.framework.aspnet.webservices)