Hi i have array of values and i need to pass it as argument for telerik mvc grid rebind in client side. My code:
var arr = new Array();
arr.push("one"); arr.push("two");
var grid = $('#TreeTermGrid').data('tGrid');
grid.rebind({ItemsArr: arr });
Controller method:
public ActionResult GetTList(List<string> ItemsArr)
{
//but i got one element with data "one,two"
}
How can do it correct?
Thanks a lot
You can try this: