I write the code for radgrid sorting event
if ("FirstName".Equals(e.CommandArgument))
{
switch (e.OldSortOrder)
{
case GridSortOrder.None:
RadGrid1.DataSource = objclass.GetData();
RadGrid1.Rebind();
break;
}
}
error i facing
There was a problem extracting DataKeyValues from the DataSource. Please ensure that DataKeyNames are specified correctly and all fields specified exist in the DataSource.
how can i solve it......................
if ("FirstName".Equals(e.CommandArgument))
{
switch (e.OldSortOrder)
{
case GridSortOrder.None:
RadGrid1.DataSource = objclass.GetData();
RadGrid1.Rebind();
break;
}
}
error i facing
There was a problem extracting DataKeyValues from the DataSource. Please ensure that DataKeyNames are specified correctly and all fields specified exist in the DataSource.
how can i solve it......................