RegisterStartupScript is declared 'obsolete', then what is...

G

Guest

I read MSDN for VS.NET 2005 beta 1 and see that RegisterStartupScript is
declared 'obsolete'. But it does not mention what should be used instead. Can
anyone tell me what I am supposed to use in ASP.NET 2.0?
 
K

Karl

There's a new ClientScriptManager class in the System.Web.UI namespace. The
page has a ClientScript property (in other words, just type ClientScript. )
:)

Karl
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,009
Latest member
GidgetGamb

Latest Threads

Top