I implemented filter, which should redirect me to one page if some conditions aren’t true, But this filter don’t work with Ajax Requests, after redirect, javascript capture result and put whole View into html element.
How can i Stop processing ajax request and redirect it to normal http request??
Thx in advance,
1) Wrote function in Javascript which do redirect:
2) return javascript code, something like:
It will get executed and will perform redirect