ASP.NET + Dyinamic JavaScript

  • Thread starter Thread starter DG
  • Start date Start date
D

DG

I need to include JavaScript in ASP.Net page which is generated depending on
some parameters.
(javascript for preloading images)

How do i include generated JavaScript in my Asp.Net page?

Tahnx
 
Hello DG,

You can use Page.RegisterStartupScript, Page.RegisterClientScriptBlock for
FW 1.1
or ClientScript.RegisterStartupScript ClientScriptManager.RegisterClientScript*
methods for FW 2.0

D> I need to include JavaScript in ASP.Net page which is generated
D> depending on
D> some parameters.
D> (javascript for preloading images)
D> How do i include generated JavaScript in my Asp.Net page?
D>
D> Tahnx
D>
---
WBR,
Michael Nemtsev :: blog: http://spaces.msn.com/laflour

"At times one remains faithful to a cause only because its opponents do not
cease to be insipid." (c) Friedrich Nietzsche
 

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

Back
Top