Thanks for your response.
What if you want to add a block of javascript because there are some pages
with <scripttag in the <headsection?
What about external .css (stylesheet) or exteral .js (javascript) files?
Thanks
"Mark Rae" <ma**@markNOSPAMrae.comwrote in message
news:u8**************@TK2MSFTNGP06.phx.gbl...
"JJ" <no****@nospam.comwrote in message
news:%2****************@TK2MSFTNGP05.phx.gbl...
>>I am trying to convert applications built with .net framework 1.1 to use
master pages. On a couple of aspx pages, I call certain javascript
functions
<body onresize="blah()"....>
However, now that <bodytag is in master page, I cannot do this. What
is the correct way/workaround for this? I really don't want to create
another master page for those aspx pages.
In your MasterPage:
<body id="MasterBody" runat="server">
In your content page:
((HtmlGenericControl)Master.FindControls("MasterBo dy")).Attributes.Add("onresize",
"blah();");