What I've done is created a document library and added some columns containing metadata. When a document is uploaded a use a workflow to populate some of these fields from AD, and the others has to be filled in by the user.
Now, when a document is uploaded to a doucument library with added columns it immediately goes to the edit item page for the added columns. The problem is the workflow is not quite fast enough to populate the required fields by the time it displays.
i have tried to add a custom edit item web part to the page and enable the asynchronous load which works perfectly, however I get an error that goes something about expecting an object. Thus I want to manually refresh the web part.