CSLA .NET

Vibrant discussion about CSLA .NET and using the framework to build great business applications.

Forum has moved

New location: CSLA .NET forum


CSLA .NET Resources:
  • CSLA .NET forum
  • CSLA .NET home page
  • IdentityConverter and CSLA Silverlight

    rated by 0 users
    Answered (Not Verified) This post has 0 verified answers | 2 Replies | 2 Followers

    Not Ranked
    7 Posts
    MichaelMaddox posted on Wed, Apr 6 2011 7:24 AM

    There is a blog post by Rocky here talking about IdentityConverter and WPF:

    http://www.lhotka.net/weblog/DataBindingIssueInWPFWithSolution.aspx

    The Csla.Wpf namespace in CSLA 3.8 contains the IdentityConverter class.

    In CSLA 4.1, the Csla.Xaml namespace for Silverlight does not appear to contain the IdentityConverter class and this is the only forum post I can find mentioning IdentityConverter and Silverlight, but the issue appears to remain unsolved:

    http://forums.lhotka.net/forums/p/8282/39434.aspx

    I'm porting a WPF CSLA 3.8 project to Silverlight CSLA 4.1 and I'm having issues with databinding and I'm not sure if the lack of IdentityConverter could be causing the issue.  Thoughts?

    -Michael

    All Replies

    Top 10 Contributor
    9,475 Posts

    WPF 3.5 introduced a binding option that solves this problem, so I removed IdentityConverter from CSLA at that point. I don't recall the specific binding option off the top of my head, but there's a way to tell the binding to always refresh.

    To my knowledge, Silverlight never had this same issue, I think it was only a WPF binding problem.

    Rocky

    Not Ranked
    7 Posts

    IdentityConverter still exists in CSLA 4.1 in the Csla.Xaml component for WPF.

    I have now confirmed that the problems I was having were not related to IdentityConverter, so my problem is solved although I'm still interested to learn the specific binding option introduced in place of the need for IdentityConverter.

    Page 1 of 1 (3 items) | RSS

    Copyright (c) 2006-2014 Marimer LLC. All rights reserved.
    Email admin@lhotka.net for support.
    Powered by Community Server (Non-Commercial Edition), by Telligent Systems