Suppose a list is return to the view and you have to populate that list in a table format against a Button Click.
For, we first define the Customer Entity as below:

After it, create the CustDataList Action Method in the controller which basically return a list as a json.

Now in the view, first reference the Angular Js using Nuget Manager and reference it as below mentioned:

Then right the below code within the body tag:

After it, in script section, write the below mention code:

Join the conversation! Your thoughts help the community grow.
Sign in to leave a comment
It is the same account you read, post and publish with — and you will come straight back to this page.

Pradeep SahooPosted Feb 28, 2015, 12:41 PM
can u please upload the sample code