Click here to Skip to main content
15,886,067 members
Home / Discussions / WPF
   

WPF

 
AnswerRe: The remote server returned an error: NotFound. Pin
Mark Salsbery14-Dec-09 12:57
Mark Salsbery14-Dec-09 12:57 
AnswerRe: The remote server returned an error: NotFound. Pin
Michael Eber28-Dec-09 12:27
Michael Eber28-Dec-09 12:27 
QuestionHelp With My WPF (C#) Application - Challenging Part Pin
johg13-Dec-09 13:08
johg13-Dec-09 13:08 
QuestionTabControl in WPF Pin
Anu_Bala11-Dec-09 18:17
Anu_Bala11-Dec-09 18:17 
QuestionMultithreading in WinForm/WPF Application Pin
sandeepranjan11-Dec-09 15:09
sandeepranjan11-Dec-09 15:09 
AnswerRe: Multithreading in WinForm/WPF Application Pin
Richard MacCutchan12-Dec-09 2:12
mveRichard MacCutchan12-Dec-09 2:12 
QuestionSame object in 2 views? Pin
AghaKhan11-Dec-09 1:50
AghaKhan11-Dec-09 1:50 
QuestionDatabinding to simple controls with RIA services Pin
RB@Emphasys10-Dec-09 12:24
RB@Emphasys10-Dec-09 12:24 
Guys,

I'm just picking up silverlight and Ria services, and must admit I'm a little frusterated. I have a working example of querying via ria services and binding to complex controls such as data grids, but if I try to use that same logic on something like a textblock, I get no love. I assume it's the asyncrhonus nature of the call, but every single example I find uses a darn data grid. Here is what I'm doing:

code behind:
SellerDomainContext domainContext = new SellerDomainContext();
     SellerGrid.ItemsSource = domainContext.Sellers;
     FirstName.DataContext = domainContext.Sellers;
     LastName.DataContext = domainContext.Sellers;
     domainContext.Load(domainContext.GetSellerByUsernameQuery("joe_seller"));


xaml:
<TextBox HorizontalAlignment="Left" Margin="8,8,0,19" Width="212" x:Name="FirstName" Text="{Binding TimeOfDay, Mode=OneWay}" />
     <TextBox HorizontalAlignment="Left" Margin="8,8,0,19" Width="212" x:Name="LastName" Text="{Binding LastName, Mode=OneWay}" />
     <data:DataGrid x:Name="SellerGrid"></data:DataGrid>


As I said, the grid works fine, the first and last name text blocks do not. Any links to articles or code snippets to instruct me on how to do simple data binding to objects such as a text block via ria services would be much appreciated!

Thanks again,
Ryan
AnswerRe: Databinding to simple controls with RIA services Pin
Mark Salsbery10-Dec-09 13:14
Mark Salsbery10-Dec-09 13:14 
GeneralRe: Databinding to simple controls with RIA services Pin
RB@Emphasys11-Dec-09 3:26
RB@Emphasys11-Dec-09 3:26 
QuestionDownload dynamic data with Silverlight app Pin
thrakazog10-Dec-09 7:06
thrakazog10-Dec-09 7:06 
AnswerRe: Download dynamic data with Silverlight app Pin
Mark Salsbery10-Dec-09 7:22
Mark Salsbery10-Dec-09 7:22 
GeneralRe: Download dynamic data with Silverlight app Pin
thrakazog10-Dec-09 7:32
thrakazog10-Dec-09 7:32 
GeneralRe: Download dynamic data with Silverlight app Pin
Mark Salsbery10-Dec-09 7:36
Mark Salsbery10-Dec-09 7:36 
QuestionRounded ListBox Pin
shanmugarajaa9-Dec-09 20:03
shanmugarajaa9-Dec-09 20:03 
AnswerRe: Rounded ListBox Pin
Mark Salsbery9-Dec-09 20:09
Mark Salsbery9-Dec-09 20:09 
GeneralRe: Rounded ListBox Pin
shanmugarajaa9-Dec-09 22:13
shanmugarajaa9-Dec-09 22:13 
GeneralRe: Rounded ListBox Pin
Mark Salsbery10-Dec-09 6:34
Mark Salsbery10-Dec-09 6:34 
QuestionWPF OpenFileDialog and FolderBrowserDialog Pin
ausadmin9-Dec-09 8:47
ausadmin9-Dec-09 8:47 
AnswerRe: WPF OpenFileDialog and FolderBrowserDialog Pin
Mark Salsbery9-Dec-09 10:22
Mark Salsbery9-Dec-09 10:22 
GeneralRe: WPF OpenFileDialog and FolderBrowserDialog Pin
Pete O'Hanlon9-Dec-09 10:59
mvePete O'Hanlon9-Dec-09 10:59 
GeneralRe: WPF OpenFileDialog and FolderBrowserDialog Pin
ausadmin31-Jan-10 10:04
ausadmin31-Jan-10 10:04 
QuestionMVVM newbie question - this doesn't seem to work with databinding Pin
Judah Gabriel Himango9-Dec-09 7:37
sponsorJudah Gabriel Himango9-Dec-09 7:37 
AnswerRe: MVVM newbie question - this doesn't seem to work with databinding Pin
Ian Shlasko9-Dec-09 8:10
Ian Shlasko9-Dec-09 8:10 
GeneralRe: MVVM newbie question - this doesn't seem to work with databinding Pin
Judah Gabriel Himango9-Dec-09 8:11
sponsorJudah Gabriel Himango9-Dec-09 8:11 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.