Logo 
Search:

Asp.net Answers

Ask Question   UnAnswered
Home » Forum » Asp.net       RSS Feeds
  Question Asked By: Aysel Kaya   on Feb 13 In Asp.net Category.

  
Question Answered By: Faiza Mian   on Feb 13

I'd make another class, and wrap the timer  in that class.

Put a label in your aspx and attach the script to it in page  load

Label l = new Label()

Page_Load()
{
Yournamespace.MyTimer tm = new Yournamespace.MyTimer();
Label.Text = tm.GetScript();
}

Really you should Register script but I haven't actually done that yet ... but
should be easy.
Or you could consider wrapping the script into a resources dll (don't ask me
how, I can only do images at teh moment)

Share: