Animations and async webservice calls


hello @ all, 

 hope fine ;)

 i have little problem animation. have silverlight app hostet in sidebar gadget. silverligth app consumes webservice. try connect webservice this

 

1    // set loading animation visible  2    loading.visibility = visibility.visible;  3      4    serviceclient proxy = new serviceclient();  5    proxy.jobcompleted += new eventhandler(proxy_jobcompleted);  6    proxy.jobasync();  7      8    // later @ source in jobcompleted event handler  9    loading.visibility = visibility.collapsed;  

  check if service availible again, use dispatchertimer calls every minute method show in example above.

so hope clear do.

my problem now, when start app, , service isn't availible, see loading spinner, when start webservice, loading spinner (animation) stops , stay on top. don't see data send web service in app, know (see in debugger , in behaviour of gadget) data send app.

whats happening here?

why silverlight app dosen't refresh layout root?

 somebody knows solution?

kind regards murdogg

sometimes first think write, sorry.



Silverlight  >  Programming Silverlight with .NET – General



Comments

Popular posts from this blog

Motherboard replacement

Cannot create Full Text Search catalog after upgrading to V12 - Database is not fully started up or it is not in an ONLINE state

Remote Desktop App - Error 0x207 or 0x607