Click here to Skip to main content
15,868,016 members
Home / Discussions / WPF
   

WPF

 
AnswerRe: DataGrid Bindings not working Pin
laprathab13-Jul-09 21:50
laprathab13-Jul-09 21:50 
GeneralRe: DataGrid Bindings not working Pin
Jacobus0113-Jul-09 22:36
Jacobus0113-Jul-09 22:36 
QuestionDisplaying Data fetched asyncronously Pin
Adriaan Davel12-Jul-09 20:27
Adriaan Davel12-Jul-09 20:27 
AnswerRe: Displaying Data fetched asyncronously Pin
Mark Salsbery15-Jul-09 10:13
Mark Salsbery15-Jul-09 10:13 
GeneralRe: Displaying Data fetched asyncronously Pin
Adriaan Davel15-Jul-09 19:46
Adriaan Davel15-Jul-09 19:46 
GeneralRe: Displaying Data fetched asyncronously Pin
Michael Sync23-Jul-09 7:03
Michael Sync23-Jul-09 7:03 
GeneralRe: Displaying Data fetched asyncronously Pin
Adriaan Davel23-Jul-09 19:52
Adriaan Davel23-Jul-09 19:52 
GeneralRe: Displaying Data fetched asyncronously Pin
Michael Sync23-Jul-09 20:11
Michael Sync23-Jul-09 20:11 
Adriaan Davel wrote:
In my example the UI code will not run in the same thread as the service call but the UI code will only be invoked after the service call has completed...


In my code also, the UI code will be invoked after the service called is completed. For example: textbox.Text = result;

Adriaan Davel wrote:
In your example the UI will not wait for the call to the GetData service (since its async) but mine will


I haven't tested your code. The problem with sync call is that it makes the UI to be freezed while waiting for the completion. So, Microsoft decided not to support "sync" calls even a lot of people are requesting it.

So, how does it work with your code? How does the UI wait for the call? Will the UI be freezed while waiting? Or will the progressbar or something be shown? Is there any way to refactor the code so that Silverlight developers can call service sequentially like

service1.GetData();
service2.GetOptions();

Thanks and Regards,
Michael Sync ( Blog: http://michaelsync.net)

Microsoft MVP (Silverlight), WPF/Silverlight Insiders

GeneralRe: Displaying Data fetched asyncronously Pin
Adriaan Davel23-Jul-09 21:32
Adriaan Davel23-Jul-09 21:32 
GeneralRe: Displaying Data fetched asyncronously Pin
Michael Sync24-Jul-09 2:23
Michael Sync24-Jul-09 2:23 
GeneralRe: Displaying Data fetched asyncronously Pin
Jeremy Likness26-Jul-09 3:17
professionalJeremy Likness26-Jul-09 3:17 
GeneralRe: Displaying Data fetched asyncronously Pin
Adriaan Davel27-Jul-09 1:42
Adriaan Davel27-Jul-09 1:42 
AnswerRe: Displaying Data fetched asyncronously Pin
Daniel Vaughan9-Jan-10 7:33
Daniel Vaughan9-Jan-10 7:33 
QuestionWPF TreeListView Control Not Working!!!!! Pin
ub3rst4r11-Jul-09 15:01
ub3rst4r11-Jul-09 15:01 
AnswerRe: WPF TreeListView Control Not Working!!!!! Pin
Christian Graus13-Jul-09 7:33
protectorChristian Graus13-Jul-09 7:33 
GeneralRe: WPF TreeListView Control Not Working!!!!! Pin
ub3rst4r13-Jul-09 8:24
ub3rst4r13-Jul-09 8:24 
GeneralRe: WPF TreeListView Control Not Working!!!!! Pin
Christian Graus13-Jul-09 8:42
protectorChristian Graus13-Jul-09 8:42 
QuestionDid you ever wonder, What the origin of XAML is? [modified] Pin
ProtoBytes10-Jul-09 10:29
ProtoBytes10-Jul-09 10:29 
AnswerRe: Did you ever wonder, What the origin of XAML is? Pin
Christian Graus11-Jul-09 4:39
protectorChristian Graus11-Jul-09 4:39 
GeneralRe: Did you ever wonder, What the origin of XAML is? Pin
ProtoBytes12-Jul-09 1:53
ProtoBytes12-Jul-09 1:53 
GeneralRe: Did you ever wonder, What the origin of XAML is? Pin
Christian Graus12-Jul-09 4:37
protectorChristian Graus12-Jul-09 4:37 
GeneralRe: Did you ever wonder, What the origin of XAML is? Pin
ProtoBytes12-Jul-09 6:00
ProtoBytes12-Jul-09 6:00 
QuestionRe: Here is a question, Mind doing me a favor? Pin
ProtoBytes12-Jul-09 2:09
ProtoBytes12-Jul-09 2:09 
GeneralRe: Did you ever wonder, What the origin of XAML is? Pin
Super Lloyd15-Jul-09 0:38
Super Lloyd15-Jul-09 0:38 
AnswerRe: Did you ever wonder, What the origin of XAML is? Pin
#realJSOP11-Jul-09 9:13
mve#realJSOP11-Jul-09 9:13 

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.