(X) Hide this Join our next live webcast on December 15th, 10 am PDT - Building a Silverlight 4 application end-to-end. Presenter: Gill Cleeren
Check the webinar agenda | Register for the webinar
Skip Navigation LinksHome / Search

Search

 
Results Per Page

Found 17 results for DomainDataSource.
Date between: <not defined> and <not defined>
Search in: News , Articles , Tips , Shows , Showcase , Books

Page 
  • 1
  • 2
Next
Order by Publish Date   Ascending Title   Rating  

  • DomainDataSource Enum Filters

    0 comments  /  posted by  Silverlight Show  on  Nov 22, 2010 (1 week ago)

    SilverlightShow Page for all Silverlight and Windows Phone 7 (WP7) things on TwitterIn this blog post, Jeff Handley shares some details about DomainDataSource Enum Filters.

    Source: Jeff Handley's Blog

    In early pre-release versions of RIA Services, the DomainDataSource control did not support filter descriptors for Enum properties. We were able to get this fixed for our V1.0 RC release though, and I mentioned that back in March. I said in that post that I’d follow up with details about our Enum support, but I never did (until now).



  • 0 comments  /  posted by  Silverlight Show  on  Jun 23, 2010 (5 months ago)
    If you have experienced some difficulties with the ComboBox control when using RIA Services, take a look at this general guidance for ComboBox usage posted by Jeff Handley.

    Here are a few scenarios we looked at:

    • Async loading of ItemsSource with a SelectedItem/SelectedValue binding;
    • Cascading drop-downs such as selecting Year - Make - Model for a car;
    • Binding a ComboBox to a list of non-Entity types, such as an IEnumerable<string>.

  • ComboBox Sample for RIA Services

    0 comments  /  posted by  Silverlight Show  on  Jun 21, 2010 (5 months ago)
    Kyle McClellan has posted about ComboBox and included a sample along with the post to get you started.

    I’ve seen a few good posts out there using the DomainDataSource with a ComboBox that make things look easy. Since those were already well trodden paths I thought it would be important to identify some of the harder scenarios. After a bit of investigation, three things came forward as being particularly difficult.

    • Loading ComboBox contents asynchronously
    • Implementing cascading ComboBoxes
    • Using ComboBoxes for Entity associations

  • DomainDataSource in a ViewModel

    0 comments  /  posted by  Silverlight Show  on  Mar 22, 2010 (8 months ago)
    Jeff Handley has written a short blog post in which he responds to the questions on a forums post about using DomainDataSource from a ViewModel.

    I've heard many times that people are using the DomainDataSource in ViewModel scenarios.  Contrary to popular belief, this can work very well with the control as it is today; there are only a couple features that won't work outside the visual tree.  Aside from these two items, everything the DomainDataSource does is supported in a ViewModel.

  • Writing a Custom Filter or Parameter for DomainDataSource

    0 comments  /  posted by  Silverlight Show  on  Mar 19, 2010 (8 months ago)
    This post is published on Jeff Handley's blog but is actually written by Kyle McClellan. Kyle explains how to write a filter or parameter for DomainDataSource.

    Now that the ControlParameter has been properly disposed of, you might have noticed that Parameter has changed substantially. Before, a Parameter was used for filtering, grouping, sorting, and querying. Now it is only used in the last case. If you had previously defined your own parameter types, you might be wondering how to leverage them in the RIA Services RC release.

  • DomainDataSource Filters and Parameters

    0 comments  /  posted by  Silverlight Show  on  Mar 16, 2010 (8 months ago)
    Jeff Handley is pretty happy about the deletion of a class called ControlParameter into the RIA Services RC release. That's why in his post, Jeff takes a look at the changes related to Filters and Parameters.

     Yes, ControlParameter is gone, gone, gone--finally!  If you’re wondering how you’ll get your UI-based filters and parameters to work without ControlParameter, do not fret… it’s easy; just use an ElementName binding!

  • 0 comments  /  posted by  Silverlight Show  on  Jan 08, 2010 (10 months ago)
    Andy Beaulieu shows how to use WCF RIA Services programmatically - without relying on the DomainDataSource controls in XAML.

    The DomainContext class allows the Silverlight client to access the Domain Service Class you created on the server side. A new DomainContext class is automatically generated on the client side for you when you create a new Domain Service.

  • 0 comments  /  posted by  Silverlight Show  on  Nov 23, 2009 (more than a year ago)
    In this blog post Jeff Handley focuses on the DomainDataSource error handling story.

    The biggest problem was when errors occurred during Load() or SubmitChanges(), server-side errors would be silently swallowed unless you opted into the LoadError, LoadedData, and SubmittedChanges events, and explicitly checked for errors.  With the PDC release, we've change this behavior, among others related to error handling.

  • 0 comments  /  posted by  Silverlight Show  on  Nov 17, 2009 (more than a year ago)
    In this article Jeff Handley gives you valued information that might help you avoid the DomainDataSource DataPager PageSize Pitfall.
    During the PDC release milestone of RIA Services, we discovered an error from DomainDataSource when using AutoLoad="True" and when using a DataPager bound to the DomainDataSource’s Data property.  We found that when the PageSize property is specified on the DataPager and not on the the DomainDataSource itself, an exception would often (but not always) be thrown from DomainDataSource, indicating that a load could not be invoked while another load was in progress.  The reason for this will actually interest you most if you use AutoLoad set to False.
  • 0 comments  /  posted by  Silverlight Show  on  Nov 17, 2009 (more than a year ago)
    Jeff Handley and his team have designed a new class called DomainDataSourceView that is created expressly for the purpose of the DomainDataSource.DataView property. 

    Awhile back, I asked for input on the DataView property and what API you would like to have for it.  We were designing a new class that would be created expressly for the purpose of the DomainDataSource.DataView property.  We wanted the API to do two thing for you: 1) Give you easy access to the properties and methods you will frequently use on the collection; and 2) Hide the properties and methods that are required to be implemented for interfaces but that you would not need to access programmatically often.  The result of this effort was a class named DomainDataSourceView.  You will see this with the PDC release of RIA Services.


Page 
  • 1
  • 2
Next