The repo for my question is here https://github.com/asafgo/SignalRProgress
In the code Index.cshtml I have a form and in it btnImportExcel.
When using btnImportExcel
onclick="$('#SignalRForm').submit();" SignalR is working ok, but if I try to use jQuery using Ajax by function DoAjaxPost with btnImportExcel
onclick="return DoAjaxPost(this);" SignalR is not working.
I would like to submit the form without refreshing the View so that's why I am using jQuery Ajax, Also btnImportExcel needs to be outside the form tags..
There is no need to return a View at InvokeSignalR Action so it can be change if needed.
Thanks in advanced for any help,