I'm trying to call the vb method by clicking on the div but i get that the method is not defined.
My Code:
<div id="Div1" class="btn btn-primary pull-right" runat="server" onclick="prueba2()" >
</div>
<script type="text/VB" runat="server">
Sub prueba2()
MsgBox("seee")
End Sub
</script>
Debug: Uncaught ReferenceError: prueba2 is not defined
Thanks in advance!