2016-08-16 53 views

回答

0

也许这篇文章可以带你到一个解决方案。这是关于电子邮件和整个Web控制可能与整个Web表单相同。

Article to email entire web control

在你可以使用jQuery阿贾克斯一起采取由ASP.NET生成的整个HTML并将其发送到服务器的另一方面。

下面是一个例子:

$.ajax({ 
    url: "YourURLToSaveWebForm", 
    type: 'POST', 
    data: { WebForm: $(document).html() }, 
    success: function (result) { 
     alert('Completed...'); 
    }, 
    error: function (request, error) { 
     alert(request.responseText + error); 
    } 
}); 
相关问题