Tag Archives: MVC

Create Radio button List from the Model in MVC

Let’s suppose that we have a Model for the tbl_department and we want to render a radio button list for all departments. Take the following model as an example. In the following article you will see that how to create a Radio button list in MVC. The article use the EmployeeDb sample SQL database( Download: … Continue reading Create Radio button List from the Model in MVC

Convert MVC WebGrid data into JSON string and use it in controller

In this article I will demonstrates how to generate the JSON string from the WebGrid data in your MVC web application. In addition, you will learn how easy it is to use this JSON data in your controller. I assume that you have some basic knowledge of the MVC framework so I am not describing … Continue reading Convert MVC WebGrid data into JSON string and use it in controller