| | |
Page.RegisterClientScriptBlock
Please support our ASP.NET advertiser: Intel Parallel Studio Home
![]() |
•
•
Join Date: Nov 2008
Posts: 5
Reputation:
Solved Threads: 0
HI All,
Can any one tell me What's the difference between Page.RegisterClientScriptBlock and
Page.RegisterStartupScript?
Thanks in advance!
Jazz
Can any one tell me What's the difference between Page.RegisterClientScriptBlock and
Page.RegisterStartupScript?
Thanks in advance!
Jazz
Last edited by jazz.learner; Nov 14th, 2008 at 1:51 am.
•
•
Join Date: May 2008
Posts: 144
Reputation:
Solved Threads: 9
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.
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.
![]() |
Similar Threads
- message box in c# web application (ASP.NET)
- sqldatasourse and gridview (ASP.NET)
- drop down list selected index change doesn't work in mozilla (ASP.NET)
- Problem closing Browser with Window.Close (ASP.NET)
- transfer data from an asp .net page into a javasscript script (ASP.NET)
- How can we include a clientside script like Java script (ASP.NET)
Other Threads in the ASP.NET Forum
| Thread Tools | Search this Thread |
.net 3.5 ajax alltypeofvideos appliances asp asp.net bc30451 beginner box browser businesslogiclayer button c# cac checkbox class commonfunctions control countryselector dataaccesslayer database datagrid datagridview datagridviewcheckbox datalist deployment development dgv dialog dropdownlist dropdownmenu dynamic dynamically edit embeddingactivexcontrol expose fileuploader fill findcontrol flash formatdecimal formview gridview gudi iis javascript list listbox login microsoft mouse mssql nameisnotdeclared news novell numerical opera panelmasterpagebuttoncontrols problem radio redirect registration relationaldatabases reportemail save schoolproject search security sessionvariables silverlight smartcard smoobjects software sql sql-server sqlserver2005 ssl suse textbox tracking treeview unauthorized validatedate validation vb.net video videos vista visualstudio vs2008 web webapplications webdevelopemnt webdevelopment webprogramming webservice wizard xsl youareanotmemberofthedebuggerusers





