javascript in asp.net component

  • Thread starter Thread starter Daniel Schmitz
  • Start date Start date
Hi,

so this is a custom control?

You can register the script with Page.ClientScript methods (for example
Page.ClientScript.RegisterStartupScript) and if you have ASP.NEt Ajax in
use, then with ScriptManager's (on the Page) API, which is similar to
Page.ClientScript's.

Generating the script itself is manual task, and certainly depends on
type/nature of your component.
 
Back
Top