So when users land a on a product page on my website we have a few products we cross sell that can be swapped in to the main view with AJAX. The title tag changes, but it doesn't flip out with the first alternate product then stays one click behind as you flip through the additional products.

The only thought I could have is that I'm not setting the title tag early enough in the postback process to have it update correctly, but I've played around with that a bit and so far I can't get it to work correctly.

Anybody know a good solution for this?

I'm assinging the title in the code behind with a simple
Page.Title = "Product: "+productName;

Do I need to flip to using javascript to set it?