Bind textblock text value from DB - silverlight

Posted on 2014-08-20
Last Modified: 2014-09-09
Hi I can a WCF ria webservice and silverlight app

I need to pull some text from a table and display on a button but it's not working

Here is the code
BorderBrush="Black" Height="75" Foreground="Black" Name="btnF1" Click="btnF1_Click">
                        <TextBlock TextAlignment="Center" TextWrapping="Wrap" Name="txtF1">
                         <Run Text="{Binding FunctionKey,Mode=TwoWay}"></Run>
                                                    <Run Text="{Binding DispositionText, Mode=TwoWay}"></Run>

I'm trying to Bind textblock text value from DB table in in  wcf ria service entity framework model silverlight  project

But it won't work
Question by:websss
    1 Comment
    LVL 25

    Accepted Solution

    Can i see your model call and how you are binding please ?

    your model should have a property "DispositionText" and data source should be bind to the GRID in that page or  some element's "DataContext"

    Featured Post

    Do You Know the 4 Main Threat Actor Types?

    Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

    Join & Write a Comment

    Suggested Solutions

    This article is for Object-Oriented Programming (OOP) beginners. An Interface contains declarations of events, indexers, methods and/or properties. Any class which implements the Interface should provide the concrete implementation for each Inter…
    Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
    To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…
    This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

    746 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    16 Experts available now in Live!

    Get 1:1 Help Now