I have vb.net method and i call it from JS code i can't send parameter to this method and here is sample: JS Code :
function OnSave()
{
var sign = document.FORM1.SigPlus1.Signature();
<%Save(sign) %>
}
VB method :
Public Sub Save(ByVal obj As Object)
Dim obj1 As New PFSIGNATURELib.SigniShellSignature
obj1.SignatureBytes = obj
obj1.SaveBitmapToFile(CurDir() & "\sign1.bmp", 200, 200)
signImg.Src = CurDir() & "\sign1.bmp"
End Sub