When is the Object Graph available in MainPage.cs codebehind?When is the Object Graph available in MainPage.cs codebehind?
Old forum URL: forums.lhotka.net/forums/t/8055.aspx
Jav posted on Friday, November 27, 2009
I want to contstruct the MainPage UI using c# in codebehind, based on the object graph returned. This Asynchronous thing is making life difficult.
Is there an event of CslaDataProvider that signals the availability of Data on the client side that I can use? Doesn't look like OnQueryFinished is available - or I must be missing something.
Thanks
Javsergeyb replied on Friday, November 27, 2009
If you are talking about WPF or SL, then you can use DataChanged event.
Sergey Barskiy
Principal Consultant
office: 678.405.0687 | mobile: 404.388.1899
Microsoft Worldwide Partner of the Year | Custom Development Solutions, Technical Innovation
-----Original Message-----
From: Jav [mailto:cslanet@lhotka.net]
Sent: Friday, November 27, 2009 6:56 PM
To: Sergey Barskiy
Subject: [CSLA .NET] When is the Object Graph available in MainPage.cs codebehind?
I want to contstruct the MainPage UI using c# in codebehind, based on the object graph returned. This Asynchronous thing is making life difficult.
Is there an event of CslaDataProvider that signals the availability of Data on the client side that I can use? Doesn't look like OnQueryFinished is available - or I must be missing something.
Thanks
Jav
Jav replied on Saturday, November 28, 2009
Hi Sergey,
It is SL that I am working on. Thanks for the tip. I'll try the DataChanged event.
JavCopyright (c) Marimer LLC