Forum : What is the difference between RegisterClientScriptBlock and RegisterStartupScript?
Brief description  about Online courses   join in Online courses
View Manju  S Reddy 's Profile

What is the difference between RegisterClientScriptBlock and RegisterStartupScript?

What is the difference between RegisterClientScriptBlock and RegisterStartupScript????
Asked by Manju S Reddy | Mar 22, 2010 |  Reply now
Replies (1)
View teacher siliconindia 's Profile
Hi Manjunath,
RegisterClientScriptBlock emits the JavaScript just after the opening
tag. RegisterStartupScript emits the JavaScript at the bottom of the ASP.NET page just before the closing
tag.

Mar 22, 2010