Jaima Joseph

Jaima Joseph

  • NA
  • 94
  • 107.8k

MVC webgrid row selection and pass the values to controller

Dec 11 2013 3:05 AM
Please anybody help.. How to retrieve and pass the values of a webgrid row to the controllers action method on click of a button, if the radio button in the same row is selected in MVC? i.e., I have a MVC application where in the view a webgrid is showing all the quotations available as rows of a webgrid.This is showing from a database table(say availableQuotes).Along with the quotation details there is a radio button as the last column in every webgrid row.I should be able o check any one quotation by selecting the radio button in that row and then on click of an Approve button I want to save the single row details(in which the radiobutton is selected) to another table (say ApprovedQuotes). I have tried in manyways and searched a lot many solutions are giving option for getselectlink().. As I am working on MVC webgrid for the first time am stuck on this.If anyone can direct me I will be grateful...Thanks in advance..

Answers (4)