(Asp Dot Net) Keywords: html, asp
I need to write a vbScript function on the client that is called either after or during the server-side Page_Load event. My boss seems to think I can just throw in script tags, like in old ASP, in the middle of my form and it will fire when it renders the html.
However, it is not firing, but giving me the error:
Statement cannot appear outside method body.
I am assuming I have to put my script in an event of some sort, which leaves me with the page_load, which I cannot use, and a control's event, which I cannot use.
Does anyone know if what my boss is saying is true???