Meet your new friend ClientScript in ASP.NET 2.0

In ASP.NET 1.X for rendering client side script to client browser we took help of Page.RegisterClientScriptBlock or Page.RegisterStartupScript methods! But these methods are obsolete in ASP.NET 2.0 (As always Microsoft facilitates backward compatibility in its products, we can still use these, but these are not recommended to use)

 

In 2.0, we can take help of Page.ClientScript to render client side script to client browser.

Page.ClientScript property is wraps an instance of the ClientScriptManager type. This ClientScriptManager helps managing scripts.

 

That’s not it; there is more to know about this guy (ClientScript). Very interesting internals are there behind introducing this new ClientScript feature in ASP.NET 2.0.

 

If you just met ClientScript, start exploring it : )

Published Sunday, August 22, 2004 8:22 PM by SreedharK

Comments

# re: Meet your new friend ClientScript in ASP.NET 2.0

Thursday, September 02, 2004 10:31 AM by Patrik Theiler
Looks interesting, this ClientScriptMangager. Does anybody know the meaning of the first parameter 'Type'? What type is it?

# re: Meet your new friend ClientScript in ASP.NET 2.0

Thursday, July 19, 2007 4:32 AM by danielchazan

need ASAP

# re: Meet your new friend ClientScript in ASP.NET 2.0

Friday, February 08, 2008 7:15 PM by gert

erm.. great article, very informative.. NOT

"As always Microsoft facilitates backward compatibility in its products"

hahahahahahahaahahahahaahahahahahaahaha where you born yesterday or something ??????

# re: Meet your new friend ClientScript in ASP.NET 2.0

Saturday, February 19, 2011 2:45 AM by Natasha Kripke

It was extremely interesting for me to read that blog. Thanx for it. I like such themes and anything connected to this matter. I would like to read more soon.    

Natasha  Kripke  

<a href="indianescortmodels.com/">indian massage london</a>

# re: Meet your new friend ClientScript in ASP.NET 2.0

Monday, February 28, 2011 7:50 PM by Katty Kripke

It is certainly interesting for me to read the article. Thank author for it. I like such themes and anything connected to this matter. I definitely want to read a bit more on this site soon.    

Katty  Kripke    

<a href="www.latinescortlondon.com/">London escorts latin</a>

# re: Meet your new friend ClientScript in ASP.NET 2.0

Saturday, March 26, 2011 10:35 AM by Mary Pingtown

It was certainly interesting for me to read the post. Thank author for it. I like such topics and everything connected to them. I definitely want to read a bit more on that site soon.        

Mary  Pingtown        

<a href="www.phone-blocker.com/">phone jammer buy</a>

# re: Meet your new friend ClientScript in ASP.NET 2.0

Tuesday, April 19, 2011 1:01 AM by Natasha Meetington

It is extremely interesting for me to read that post. Thank author for it. I like such themes and anything that is connected to this matter. I would like to read a bit more on that blog soon.            

Natasha  Meetington          

<a href="www.baccaratgirls.com/.../a>

Leave a Comment

(required) 
(required) 
(optional)
(required)