I want to load a (M V C) View in an iframe. But the view which i am trying to load in an iframe does not contain any action , i added it manually. For clearity suppose
Index.cshtl => View
public ActionResult Index() => Action of index view
{
return View()
} This view loads perfectly in iframe
Now
Test.cshtml => View
No action for this view & I want to load this view in iframe.
I found the solution , we just have to send the requet to the
Actionfrom where theTest viewis called like :this setup is in my case may be in your case it is different. I hope it helps.