Apr 28, 2012 06:56 AM|Ruchira|LINK
The method, Page.RegisterStartupScript is obsolete, as the error says. And again, as the message already said, the recommended alternative is to use ClientScript.RegisterStartupScript. Replace all the Page.RegisterStartupScript
lines with ClientScript.RegisterStartupScript.
Please 'Mark as Answer' if this post helps you