mohan singh

mohan singh

  • NA
  • 65
  • 6.1k

How to pass a jquery Variable as an argument in c# function

Sep 5 2016 5:24 AM
 in the below code I am trying to pass a the cell value of jqgrid as a parameter in c# function but it is showing an error...
 
 
 
{
name: 'Id', index: 'Id',
formatter: function (cellvalue, options, rowObject) {
return '<a href="@CustomURLHelper.CreateTamperProofURL(Url.Action("modifyschedule","Schedule"),string.Empty,string.Format("Id={0}",cellvalue))" style="width:75px; "class="button">Edit</a>';

}
}

Answers (8)