Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

What's the difference between Page.RegisterClientScriptBlock and Page.RegisterStartupScript ?

Answer Posted / aadesh kumar

RegisterClientScriptBlock is for returning blocks of client-side script containing functions. RegisterStartupScript is for returning blocks of client-script not packaged in functions-in other words, code that's to execute when the page is loaded. The latter positions script blocks near the end of the document so elements on the page that the script interacts are loaded before the script runs.<%@ Reference Control="MyControl.ascx" %>

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

List the asp.net validation controls?

944


Where is cookie used in asp.net?

1100


What is different in .net 1.1 and .net 2.0?

1016


What are the different kinds of assemblies?

939


What are the versions of garbage collection?

1889


What is the difference between asp.net and mvc?

1120


What is asp.net introduction?

1014


What kind of programming language is ASP.NET?

1147


Can you change a Master Page dynamically at runtime?

964


What is a form tag?

878


List the major built-in objects in asp.net?

1000


Tell me the code snippet to show how we can return 404 errors from HttpError?

1281


What is the difference between client-side and server-side validations in webpages?

1021


What is csrf attack in asp.net?

1025


How to comment out asp.net tags?

1055