Often things that get wired up with javascript on the first request may become unwired up after the updatepanel does an ajax post back.
You may be able to solve it by using ScriptManager.RegisterStartupScript instead of Page.ClientScript.RegisterStartupScript (and other ScriptManager methods instead of Page.ClientScript methods).
It is a common problem and you can find a lot of advice by googling.
Hope that helps,
Joe