RegisterStartupScript on ascx

R

rom

my main aspx page has 3 user controls. they are all
located in the same place of the page and each time i set
the visibility of 2 of them to false and 1 to true. now, i
want to use the RegisterStartupScript on one of these
controls but then i write page.RegisterStartupScript i
registers it on the aspx page and i get js errors on the
other controls. when i try me.RegisterStartupScript (on
the ascx) i get "RegisterStartupScript is not e member
of....."

help...
 

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

Staff online

Members online

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,071
Latest member
MetabolicSolutionsKeto

Latest Threads

Top