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

What are the page life cycle events?

902


What is a viewbag?

958


Can I have a unique key as foreign key?

955


What is the most appropriate lifetime for a database connection/orm context in an asp.net mvc application? : Asp.Net MVC

1011


Why do we need url encoding?

964


How would you turn off cookies on a page of a website?

918


Explain the difference between mvc (model-view-controller) and mvp (model-view-presenter)? : asp.net mvc

968


What is the basic purpose of the required field validator? How can you use a required field validator to check that the user changes the initial value of a text box? a listbox?

1876


What are the best practices to follow to secure connection strings in an ASP.NET web application?

1042


what is DLL Hell and how it is solved in .NET? please explain clearly??

2364


Why the javascript validation not run on the asp.net button but run successfully on the html button?

952


Explain asp.net web forms.

1070


What do you mean by authentication?

1060


Difference between response.redirect and server.transfer?

1025


What are the memory-mapped files?

1006