8
Answers

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

mohan singh

mohan singh

8y
2.5k
1
 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)