Advanced Forum Search Results
-
I don't think so. But you could create a facade service in your site of origin that is a composite of both service contracts and use that as your sole service reference in Silverlight.
-
I'm subscribing to the PropertyChanged event on my scriptable object in my plugin loaded event handler in the host page:
scriptableObject.PropertyChanged = silverlight_PropertyChanged
and raising the PropertyChanged event inside my property setters in Silverlight:
this.PropertyChanged(this, new ...
-
Here's the relevant part:
function (silverlight_PropertyChanged(sender, args) {
if(args.PropertyName == "Foo") {
// Do something
}
}
Attempting to access args.PropertyName fails with the old "Error: Object doesn't support this ...
-
That's a viable workaround, but I want to see if I can do this without having to modify my existing application. I've gotten as far as being able to hook the event, but I can't get to properties on the event args. My javascript's a little weak, so it might be there and I'm not accessing it correctly. Or it could be that that ...
-
I'd like to be able to subscribe to the PropertyChanged event from within my JavaScript, but when I do, I am not able to access the PropertyName property to better handle this event. Is this possible?
-
Maybe explicitly set your binding mode to TwoWay?
Also, implement INotifyPropertyChanged and raise the PropertyChanged event in your setter. I don't think this factors in to your current problem, but it might help with the next step: when you start changing the value of your Progress property.
-
You don't need to connect using JSON serialization, SOAP will work just fine, but you can't use the ChannelFactory to communicate with your service, you must add a service reference. You might be having some cross domain issues, judging from the "DestinationUnreachable" message. To be sure that's not it you can follow the ...
-
I went off and implemented WCF application services and answered my own question. Once I had WCF services in place on my host asp.net application, I was able to add a service in Silverlight and consume these services in a strongly typed manner, without having to solve the DataContractJsnoSerialzer problem I was encountering. I'm still curious ...
-
I'me considering.NET ApplicationServices -- seems like this might be what I'm looking for. I found an example here: http://blogs.msdn.com/mikeormond/archive/2007/07/12/accessing-asp-net-application-services-from-silverlight.aspx
But this is for 1.0 and uses JSON serialization. I'm having some trouble deserializing the JSON response. ...
-
Thanks for the direction, that's what I'm doing now. I was hoping to get an explanation as to why this cookie isn't available. I suppose it might be security, but I don't understand why.