B
Brian W
Hi All,
I have a web user control that, among other things, provides Print this
page, and Email this page functionality I have this script that is to
execute on the click of the asp:hyperlinks
I have a function in a <SCRIPT> block that I want in the <head></head>
section of the page. Unfortunately, RegisterClientScriptBlock,
RegisterStartupScript don't always work, and when they do the script is
placed inside the <form> tag (this seems stupid to me).
Is there anyway, from the web user control to insert code into the <head>
section of the page using the web user control?
-- also --
How does one go about debugging java script? Some code I'm working on has an
error and the little "!" icon flashes in the status bar of the browser, then
goes away.
Thanks, as always!
Brian W
I have a web user control that, among other things, provides Print this
page, and Email this page functionality I have this script that is to
execute on the click of the asp:hyperlinks
I have a function in a <SCRIPT> block that I want in the <head></head>
section of the page. Unfortunately, RegisterClientScriptBlock,
RegisterStartupScript don't always work, and when they do the script is
placed inside the <form> tag (this seems stupid to me).
Is there anyway, from the web user control to insert code into the <head>
section of the page using the web user control?
-- also --
How does one go about debugging java script? Some code I'm working on has an
error and the little "!" icon flashes in the status bar of the browser, then
goes away.
Thanks, as always!
Brian W