I have a javascript funtion that will called a controller method if the condition satisfied. In SilentLogout method, it returns RedirectToAction method. For this SilentLogout method, there is no view associated with it. The codes work well except it cannot find the the SilentLogout. Just fyi, there are other methods in this controller which returns view and it all works