Click here to Skip to main content
15,894,287 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I want to open view from controller. My code is
public ActionResult Preview()
{
EventViewModel model = new EventViewModel();
return View("Templete1", model);

}

From action result, is it possible to open view in new tab??

plz help me..

What I have tried:

I give form target= '_blank' attribute in Templete view but it's not working..
Posted
Updated 3-May-17 23:14pm

1 solution

 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900