Advanced Forum Search Results
-
Technically your code returned an instance of IEnumerable<T> (or is it IQueryable<T>) anyway, adding the method call .ToList<T>() builds a list object. In fact I'd skip generating a List<T> as it get serialized over the Web service as an array of T. So rather call .ToArray() and return that value as an array of T.
-
I don't know about binding to a static method, however I've found success binding to a custom class implementing IValueConvertor.
-
If I have web page and I'd like to embed two instances of the Silverlight control running different applications compiled off the same source tree, could I communicate between them in any way other than using JavaScript? Don't all Silverlight controls on a web page technically share a single AppDomain?
-
As a matter of interest, a common problem with putting the WCF client code in an assembly is that at runtime the ServiceReference.config file is not available to the application. To solve this, add the file to the Silverlight application project as a link.
-
There is unfortunately no end-user download for the RC0 version - its intended for developer use only for testing before the release comes out. If you want to publish your control you need to build it using Silverlight 2 beta 2.
-
I see the suggestion only had 3 votes so it most likely didn't make it into the feature lists for consideration for this RTM/RTW. I have emailed one of the program managers asking who closed it and why there was no comment added.
-
So the web applications you are writing could use the ValidationRule class, put a request in for it on Connect and hopefully enough people will vote for it to get it into a later build.
However, every little bit of functionality comes at the cost of something else. It might be a few classes here and there, but at the end of the day it requires ...
-
Since when was a validation system part of the feature set?
I honestly take my hat off to the Silverlight and Expression teams for the amazing amount of work they have put into the products for Silverlight. What they have pulled off so far is extremely impressive and provides a solid foundation for future development. So you might all moan about ...
-
Yeah sure, it would be great to have support for everything in Silverlight but I'm sure to keep the framework download small it needs to be kept to the core framework.
-
I remember seeing something like this in my testing as well, but I was working in XAML and not code-behind. I am not in front of my dev PC right now but if I recall correctly you need to put the content inside a DataTemplate.