By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,408 Members | 1,840 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,408 IT Pros & Developers. It's quick & easy.

JavaScript in Content Page error

P: n/a
Hello,

I have a Master Page with ContentPlaceHolders. I also have a content page
which I need to add some JavaScript to. If I place the JavaScript in the
content page, I get the following error:

Parser Error Message: Only Content controls are allowed directly in a
content page that contains Content controls.

However, if I place the script in the Master Page, the script works fine.
Is there a way to place JavaScript in the content page? I don't want to
have to place all of my JavaScript in the Master Page.

--
Thanks in advance,

Steven
Nov 18 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.