spcfhjsylrl
New Member
I am getting a bit confused here with this code snippet. I have the following in a httpPost action\[code\]if(returnUrl.StartsWith("/AssetResearch/InvestorApproval")){ return RedirectToAction("InvestorApproval", "AssetResearch");}\[/code\]but my code goes to my index() action every time. Any reason why this could happen? Shouldn't RedirectToAction trigger my action noted?Edit: Yes it is going in the if statement.