W
Wes Weems
Hello,
I currently have javascript and vbscript that needs to be spat out based on
certain conditions in the codebehind. My vbscript code relies on the OnLoad
event. However with the RegisterClientScriptBlock(), sticking the code in
the form tags, I cant seem to get the bastard to work.
Basically heres what I *NEED* to do. Generate some js and vbscript to be
output before or after the form tags.
I tried defining the variables in the codebehind with the protected
modifier... then setting them in Page_Load... and then doing <%=myVar%> and
nothing gets spat out to the browser.
If anyone could *PLEASE* give me any words of wisdom, they would be greatly
appreciated.
Wes
I currently have javascript and vbscript that needs to be spat out based on
certain conditions in the codebehind. My vbscript code relies on the OnLoad
event. However with the RegisterClientScriptBlock(), sticking the code in
the form tags, I cant seem to get the bastard to work.
Basically heres what I *NEED* to do. Generate some js and vbscript to be
output before or after the form tags.
I tried defining the variables in the codebehind with the protected
modifier... then setting them in Page_Load... and then doing <%=myVar%> and
nothing gets spat out to the browser.
If anyone could *PLEASE* give me any words of wisdom, they would be greatly
appreciated.
Wes