I'm calling a controller through javascript button click function. The controller is working fine but it does not return the view which I have specified in the controller instead of that it returns same view where I'm called the controller.