0
kicks
Using .NET’s Register Script methods with jQuery’s $(document).ready()
In ASP.NET web apps, most of the times we would need to call JavaScript functions in page_load event of code behind, for various valid reasons. In such scenarios, we simply use .NET’s Register Script methods for emitting JavaScript code, which is absolutely fine.
However, if you are using Register script methods with jQuery, the output will not be as expected. In this article, I shall explain the problem, its reason and a simple solution.