Advanced Forum Search Results
-
I haven't tried this on SL3 yet but just looking at the snippet above what if you try this:
<DiscreteObjectKeyFrame.Value>False</DiscreteObjectKeyFrame.Value>
A part of me wants to believe that the TypeConverter will convert the string into a boolean as expected.
-
I think all you can do is send feedback to the Connect page and see if it boosts the priority. Also, you might be able to work around this depending on the Unit Test framework you're using but in the end I still had this issue.
-
I'm not sure about the newest version of Silverlight but if it doesn't come with a Decorator control then I'm thinking you cannot easily duplicate its functionality. Depending on what you're trying to do you might want to take a different approach.
-
Interesting, I thought there was a specific exception but now that you mention it I don't see it either. I voted on your connect issue but before we get too upset about them closing it I bet they did so because they have already addressed this issue for the next release.
Let's give them one more chance :)
-
That's true too, though you could in a partial class make properties for the generated objects that will do the validation and throw the exceptions.
What I prefer to do is to create a "real" object that has all of my logic and use the proxy objects as DTO's (data transfer objects). Use some sort of mapping utility to get the ...
-
It does have a built-in validation system... but it royally sucks. It's not perfect in WPF either but is definitely way better. To use it you have to:
1.) Use a TwoWay binding
2.) Set ValidatesOnExceptions to true
3.) Throw a ValidationException from within the setter of your property.
4.) Handle the BindingValidationError event on the ...
-
Yeah I was one lobbying in favor of asynchronous behavior in another thread.
I don't think that the problem is asynchronous service calls in this case I think the problem is a very poorly thought out validation system. As far as I can tell it is not possible to make an asynchronous service call during validation with the current system... ...
-
[quote user="Kevmeister"]Does that mean that if my Silverlight application needs to pass login credentials over the wire then they will be in clear-text (SOAP) only?[/quote]
I believe you would simply bind to service using SSH to address this problem right? You don't need wsHttpBinding to connect to an https url I ...
-
I have been working on CslaLight and we have managed to find a way to fairly easily allow authentication / authorization.
Check it out: http://www.lhotka.net/cslalight/
The basic idea is to do an asynchronous fetch of the Principal object from the server and load it into your UI thread (and other threads created from there). Standard HTTP ...
-
In you custom control constructor you have to add this line:
DefaultStyleKey = typeof(TextBoxControl);