javascript from codebehind

  • Thread starter Thread starter Rick Morayniss
  • Start date Start date
Hi, Rick

Code behind is compiled VB or C# code running on server, and Javascript is code running on client browser. When asp.net runs code behind on server, javascript code is only bunch of text that will be returned to browser based on request. You can add javascript blocks at this time. Of course you can set a flag that the returned html page knows to call a javascript function in the window_onload event when the page is load into the brower

Bin Song, MC

----- Rick Morayniss wrote: ----

Can I call a Javascript from codebehind. If so, How
 
Back
Top