javascript in asp.net component

D

Daniel Schmitz

hi,

how do i generate a javascript code in asp.net custom component ?

thanks
 
T

Teemu Keiski

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.
 

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

Members online

No members online now.

Forum statistics

Threads
473,780
Messages
2,569,611
Members
45,276
Latest member
Sawatmakal

Latest Threads

Top