i am having the code like the following
Public cs As ClientScriptManager
Public Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
cs = Page.ClientScript
cs.RegisterArrayDeclaration("activArray", """asd"",""ert"",""sdt""")
End Sub
//"text/javascript"
function doInit() {
alert(activArray.length)
}
while running these code,it shows an error Microsoft JScript runtime error: 'activArray' is undefined
Please help me to solve this error.Thank you