Hello,
I want to implement user actions with button above the list view.
With events it's nearly no problem.
In the function ListonLoad I define the Button and I want to call the vbscript function x_test() if the user
clicks the button. The first commands msgbox are executed properly, but the funtion call to x_test
fails with error "Types incompatible". Does anyone know how to call the vbscript function properly ??
I tried different syntax with x_test(), x_test but all in vain.
The source code is put into xxx_doEvents.asp
Best regards
Uwe Pfeiffer
------------------------------------------------------------------------------------------------------
<%
function x_test()
response.write "hallo"
end Function
Sub ListOnLoad(strSQL)
'** Custom code ****
' put your custom code here
%>
<input type=button value="Test" onclick="vb script:MsgBox 'Hallo':msgbox 'egal':x_test()">
<%
End Sub
%>