Hi all,
can we passe data from view to contoller. I think viewdata and viewbag can use to send data from cotroler.
In my case i use telerik grid contolers with razor.
.DataBinding(dataBinding => dataBinding.Ajax()
.Select("_OrdersForEmployeeHierarchyAjax", "Home", new { Id = "<#= Id #>" }))
I tried to pase data from view to contoller from this code. but didnt work.
I dont know the meaning of this part
new { Id = "<#= Id #>" }
thx in advance...