Link to home
Start Free TrialLog in
Avatar of us1975mc
us1975mcFlag for United States of America

asked on

Processing a payment

Experts,

Have a webpage that makes a web service call and is waiting for a response to the ws call.  When I get the response it populates 3 textboxes with different information, a  Response Code, a Transaction ID and a Confirmation #.  

My problem is that the web service can take anywhere from an instant to several seconds.  I determine where I go from the information that I receive in the Response Code. (if it is good I go to one page, if it is bad I tell them to recheck their data and resubmit.)

How do I place some bit of information that the process may take a few seconds and please do not close the application window during this time.  Then when the Response Code textbox is filled with info to take the message down and process the information.

I tried the TextChanged event on the textbox and that does not seem to work.

I am using Visual Studio 2010 with Visual Basic.

Any Ideas?
ASKER CERTIFIED SOLUTION
Avatar of kaufmed
kaufmed
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of us1975mc

ASKER

kaufmed,  I see what you are saying about the client-side notification, but bas really wanting to stay away from JS but may have to go there...

CodeCruiser, Yes I am using AJAX.  The link that you show, I tried the Live Demo and tried to download the code but it is not there.  Is there a progress control in AJAX? If so I haven't seen it.
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
...really wanting to stay away from JS...
...Yes I am using AJAX.
Heheh...  but your already there!!!
Kaufmed, as soon as I sent that one off I thought to myself, O s###t, that was dumb!
No worries. I understand about not wanting to use JS. My job demands that if you provide a JS-enabled site, you must provide a non-JS enabled version. I find it easier to just do the non-JS from the get go  = )
kaufmed,  Cool.... ;0)
OK kaufmed, where do I go for doing JS in the code?
Thanks for the thoughts.  Found solution through both and JS was in there.