This question is locked. New answers and comments are not allowed.
Hi All,
I am new to MVC and telrick and facing one issue with Ajax binding.i will explain you the scenario.
Issue #1 :
I am binding datatable to gridview.i am getting internal 500 error while ajax binding.
Issue#2 : is it possible to place the property name instead of Expression?
Thanks
Vru
I am new to MVC and telrick and facing one issue with Ajax binding.i will explain you the scenario.
Issue #1 :
I am binding datatable to gridview.i am getting internal 500 error while ajax binding.
Issue#2 : is it possible to place the property name instead of Expression?
helper.Telerik().Grid(modeldata)
.Name(
"MedalWinners")
.Columns(columns =>
{
columns.Bound(c => c.Sport);
//foreach (string column in (from columnName in data.Descendants("Columns").Elements("Column")
// select columnName.Value))
//{
// columns.Bound(column);
//}
})
.DataBinding(dataBinding => dataBinding.Ajax().Select(
"_Sorting", "Friends"))
==================
In this snippet i am planing to generate the columns dynamically.but i am getting expression error?.is it possible to place the property name instead of Expression(C=>C.Sport to "Sport" like this).?
Thanks
Vru