MVC 4 2012 C#

Hello All
  I would like to have the ability to
   1) click on a link on the UI
   2)  pull data from the controller
   3) display that data on a different .cs page

Please help
popup-box.docx
vcurtisAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

käµfm³d 👽Commented:
So you want a popup or a redirect?
0
vcurtisAuthor Commented:
I  think a redirect would be a better way to go
0
vcurtisAuthor Commented:
Was just informed that we need a pop-up. We want to be able to view the data and the "view" at the same time
0
Cloud Class® Course: Microsoft Exchange Server

The MCTS: Microsoft Exchange Server 2010 certification validates your skills in supporting the maintenance and administration of the Exchange servers in an enterprise environment. Learn everything you need to know with this course.

käµfm³d 👽Commented:
So I assume that Javascript is permitted then? Is JQuery on the table?
0
vcurtisAuthor Commented:
yes  to jquery. I have attached my code and I think it is done with the @htmlActionLink but not sure.



@model ALFA.ViewModels.MeasuresCommitteesVM

@{
    ViewBag.Title = "Index";
    Layout = "~/Views/Shared/_Layout.cshtml";
}
<div class="content" role="main" id="skip">
    <div class="row">
        <h1>Unassigned Measures</h1>


<p>
      
    @Html.ActionLink("Refresh Measures from LIS", "RefereshMeasures" )
</p>

      @*<div style="min-height:150px;overflow:scroll;" >*@
            <div>

                  
<table>
    <tr>
        <th>                   
            @Html.DisplayNameFor(model => model.MeasureList.Measures[0].MeasureNumber)
        </th>
        <th>
                  Committee
            @*@Html.DisplayNameFor(model => model.MeasureList.Measures[0])*@
                  
        </th>
        <th>
                  Subject
            @*@Html.DisplayNameFor(model => model.MeasureList.Measures[0].MeasureType)*@
        </th>
        @*<th>
            @Html.DisplayNameFor(model => model.MeasureList.Measures[0].MeasureNumber)
        </th>*@
        <th>
                  To Do
            @*@Html.DisplayNameFor(model => model.MeasureList.Measures[0].Subject) *@
        </th>        
    </tr>

@foreach (var item in Model.MeasureList.Measures) {
    <tr>
        <td>
            @*@Html.DisplayFor(modelItem => item.MeasureType)
                  @Html.DisplayFor(modelItem => item.MeasureNumber)*@
                  @Html.ActionLink(item.MeasureType ,"Measure Number")
                  @Html.ActionLink(item.MeasureNumber.ToString(), "@http://www.leginfo.ca.gov/bilinfo.html" , new {name=item.MeasureType, id = item.MeasureNumber})
                  
        </td>
        <td>          
                  @Html.ActionLink("Assign", "~/Home/CommitteesController.cs", null, new { target= "CommitteesController.cs" })                   
        </td>
        <td>
                  @*@Html.DisplayFor(myName => Model.CommitteeList.CommitteeList)*@
            @Html.DisplayFor(modelItem => item.Subject)
                </td>
        <td>
                  Unassigned
          @*  @Html.DisplayFor(modelItem => item.PrimaryAuthor)*@
                  
        </td>
       @* <td>
            @Html.DisplayFor(modelItem => item.SessionYear)
        </td>*@
     
    </tr>
}

</table>
                  </div>
</div>
      </div>
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
vcurtisAuthor Commented:
It worked but not entirely because the solution was more for mvc 3 not mvc 4
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
.NET Programming

From novice to tech pro — start learning today.