Hi Nikolay,
As part of the data in the transport > read > data, I am sending the id and on the server side, I can find the row and modify the DataSourceRequest Page prior to the .ToDataSourceResult to get the correct page. How can I make sure the js side of things is showing the correct page? Perhaps in the transport > read > complete? I can send down (from server to client) as additional JSON using the class below.
public
class
DataSourceResultEx : DataSourceResult
{
public
DataSourceResultEx(DataSourceResult result,
string
additionalJsonData =
null
)
{
AggregateResults = result.AggregateResults;
Data = result.Data;
Errors = result.Errors;
Total = result.Total;
AdditionalJsonData = additionalJsonData;
}
public
string
AdditionalJsonData {
get
;
set
; }
}