[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Bind textblock text value from DB - silverlight

Posted on 2014-08-20
1
Medium Priority
?
393 Views
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>
                                                    <LineBreak/>
                                                    <Run Text="{Binding DispositionText, Mode=TwoWay}"></Run>
                   </TextBlock>                    
                    </Button>

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
Help!!
0
Comment
Question by:websss
1 Comment
 
LVL 25

Accepted Solution

by:
apeter earned 2000 total points
ID: 40281326
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"
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

While working on Silverlight and WCF application, I faced one issue where fault exception occurred at WCF operation contract is not getting propagated to Silverlight client. So after searching net I came to know that it was behavior by default for s…
User art_snob (http://www.experts-exchange.com/M_6114203.html) encountered strange behavior of Android Web browser on his Mobile Web site. It took a while to find the true cause. It happens so, that the Android Web browser (at least up to OS ver. 2.…
Integration Management Part 2
Is your data getting by on basic protection measures? In today’s climate of debilitating malware and ransomware—like WannaCry—that may not be enough. You need to establish more than basics, like a recovery plan that protects both data and endpoints.…
Suggested Courses

830 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