Converting Page Rendering to Async

Topics: General
Jun 3, 2011 at 7:36 PM

I want to modify Composite.Core.WebClient.Renderings.Page.PageRenderer to load all the ContentContainers async, but I want all ContentContainers to start off with a .loading class then once the container is rendered remove the .loading class. is Composite.Core.WebClient.Renderings.Page.PageRenderer the right area to do this or is there a better way

Jun 6, 2011 at 9:18 AM

Just to clarify - when a page is served from the server it should not contains any content, but rather a <div /> or something, and then, once the page have loaded on the client, JavaScript will request the content and fill it into the <div />'s ?