• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 314
  • Last Modified:

RegisterStartupScript outside of the form tags.

I am using a flash plugin that does not work within the form tags because of security issues but I need to be able to control whether this flash object is displayed or not so I'm trying to use RegisterStartupScript("", "script content") but it places it within the forms.

Does anyone have any suggestions on how to avoid this? Thanks.
1 Solution
you could always just do a response.write in the rendering event(s) if there just scripts.

Featured Post

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now