Click here to Skip to main content
15,667,014 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I was wondering how to bring a view as a popup with a click of an icon. My second view will contain a datatable thats editable.

I tried like this:
<h4 class="form-control-static ng-cloak">{{selectedFacility.Name}}  <a href="@Url.RouteUrl("ItemEdit", new { controller = "FacilityAdd", action = "GetRrfForm"})" class="modalpuup"><img src="/Content/PurchaseOrder.ico" style="width:35px;height:20px;margin-top:0px; display: inline"> </a></h4>

public ActionResult GetRrfForm() {
return View("ItemAddPopup");


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