View Single Post
  #1 (permalink)  
Old November 7th, 2005, 12:21 AM
jmcpeak's Avatar
jmcpeak jmcpeak is offline
Wrox Author
Points: 467, Level: 7
Points: 467, Level: 7 Points: 467, Level: 7 Points: 467, Level: 7
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Nov 2005
Location: , Texas, USA.
Posts: 87
Thanks: 0
Thanked 18 Times in 17 Posts
Default MasterPage and ClientScript

I seem to be having problems with RegisterClientScriptBlock() when using MasterPages. No matter where I use RegisterClientScriptBlock(), the script is not added to the page. I've tried it in the Page_Load() and Page_Init() methods on both Master and Content pages. Just to check, I created a normal .aspx file and used RegisterClientScriptBlock() there and everything was hunky dory.

I can't seem to find any information on this issue, so any help would be appreciated.

Eat a beaver, save a tree.