ASP.NET Web Parts with CSLA Datasource IAsyncResult

ASP.NET Web Parts with CSLA Datasource IAsyncResult

Old forum URL: forums.lhotka.net/forums/t/10778.aspx


porsonw posted on Monday, October 17, 2011

I hope anyone could able to help. I have a Web Application which I am putting in some user controls as web parts.

These user controls use CSLA as data source and I am trying to fetch data for my CSLA object asynchronously.

Is anyone can tell me how please, I am quite new to this asynchronously fetch data!

I won't be able to use sliverlight or WPF etc. Is there any thing in CSLA that return IAsyncResult object so that I can use Page.RegisterAsyncTask on page?

Any help appreciated!

 

RockfordLhotka replied on Monday, October 17, 2011

There is no support for this at present. The data portal itself is synchronous. We implemented an asynchronous wrapper that uses the evening model established by Silverlight. You could create similar techniques to build a Task wrapper.

 

We plan to do this for version 4.5, but we don't have it now.

porsonw replied on Tuesday, October 18, 2011

Thank you very much for the quick reply! I will take a look at the CSLA 4 code for the sliverlight sample.

Thanks again. :)

Copyright (c) Marimer LLC