Link to home
Create AccountLog in
Avatar of diablo089
diablo089Flag for United States of America

asked on

Silverlight wait for ASP.NET code to complete

I have a project with a silverlight control and some ASP.NET code to work with a WSHttpBinding, because Silverlight doesn't seem to work with WSHttp. I can pass objects from Silverlight to ASP.NET and back using serialization, and I have my ASP.NET code fire when a hidden field changes(it gets populated from the silverlight side). Is there some way I can get some Silverlight code to fire when I change the value of another ASP.NET hidden field (where I pass it a list object)? And/or could I somehow get Silverlight to wait for the ASP.NET code to finish executing?
Avatar of Manoj Patil
Manoj Patil
Flag of India image

Use javascript.  You can call methods inside silverlight from aspx page and  vice versa.

check out the link, http://blogs.silverlight.net/blogs/msnow/archive/2008/07/08/tip-of-the-day-15-communicating-between-javascript-amp-silverlight.aspx
ASKER CERTIFIED SOLUTION
Avatar of diablo089
diablo089
Flag of United States of America image

Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account
Avatar of diablo089

ASKER

I felt that the most elegant solution was to build and use a WCF service.