Hi I am just wondering why some people suggest RegisterStartupScript () to call client side js, while some offer RegisterClientScriptBlock ().
Please let me know what is the difference between them when they perform the same operations for using js operator calls, and which one is preferable if I use only js commands, such as alert, return confirm from codebehind.
RegisterClientScriptBlock script <form runat="server">. - , .
RegisterClientScriptBlock
<form runat="server">
RegisterStartupScript script <form runat="server">. , . , , "", , script .
RegisterStartupScript
RegisterClientScriptBlock, js- RegisterStartupScript, .
. MSDN.
Source: https://habr.com/ru/post/1786624/More articles:C ++ C # project dependency management - c ++asp.net subdomain setup on localhost - asp.netWhat version of IMalloc should I use in Delphi? - typesWhat happened to the AIM SDK? - c #how to send int parameters using jquery - jqueryXml parsing issue - javaWhat is the root of the population in this case? - domain-driven-designпроблема linux asm: вызов функции extern - assemblyFirewall custom properties not populated - asp.net-mvc-3Best Practices / Rails Internationalization App - ruby-on-railsAll Articles