javascript:
$.post("TestWebService.aspx/test", { file: encodededfile }, function (data) {
//$(c).find('.start').html('');
//$(c).removeClass('wait').append(data);
//if (o.root == t) $(c).find('UL:hidden').show(); else $(c).find('UL:hidden').slideDown({ duration: o.expandSpeed, easing: o.expandEasing });
//bindTree(c);
});
code behind:
Imports System.IO
Public Class TestWebService
Inherits System.Web.UI.Page
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
If Request.Form("file") Is Nothing OrElse Request.Form("file").Length <= 0 Then
Dim sFile = "/"
Else
Dim SPathFull = Server.UrlDecode(Request.Form("file"))
Dim sFile = Path.GetFileName(Server.UrlDecode(Request.Form("file")))
End If
Dim b = 5
End ...
Go to the complete details ...