javascript from codebehind

G

Guest

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top