Quantcast
Channel: ASP.NET AJAX + Ajax Control Toolkit (ACT)
Viewing all articles
Browse latest Browse all 5678

after form submit , need send message from web API to front end to display .How? Thanks.

$
0
0

<form id="test"  method="post" action="@Url.Content("~load")" >

<div>

<label>Test</label>

<input name="myfile" type="file" />

<button type="submit" value="submit" />
< /form>

webAPI 

[Route("~load")] [HttpPost] public async Task<HttpResponseMessage> loadfile() {

}

</div>

Viewing all articles
Browse latest Browse all 5678

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>