0

I'm working on complex user control(with Telerik components). I'm trying to implement following functionality:

  1. Typing some text in RadTextBox(let say: "Hello.txt").
  2. Clicking on Button "Check".
  3. onClientClick for button "Check" will call WCF method with parameters. Let say that this request/response will take more that 10 seconds, meanwhile I'll see loading image near TextBox AND the most important, I can continue to work on other fields.
  4. When WCF service responses UI will be updated with the result.

Thanks in advance

Rory McCrossan
  • 331,213
  • 40
  • 305
  • 339
Jojo
  • 11
  • 1
  • ... and what have you tried so far? – Rory McCrossan Apr 10 '12 at 09:04
  • Have you tried calling the WCF using AJAX? Give us some info on the approach you tried so far as Rory mentioned. – George Taskos Apr 10 '12 at 09:10
  • Thanks everyone, this [example](http://www.codeproject.com/Articles/238866/Invoke-Server-Methods-From-Client-Side-Using-JQuer), helped me to understand and implement the requested functionality. – Jojo Apr 12 '12 at 07:22

1 Answers1

0

Make the wcf call a delegate so that it will call back the client when it has finished, leaving the client UI to continue in the meanwhile. See my answer here for instructions on how to do this.

Community
  • 1
  • 1
ldgorman
  • 1,553
  • 1
  • 14
  • 39