This is a migrated thread and some comments may be shown as answers.

Grid REadAsync return collecion + custom data?

1 Answer 12 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Pierre
Top achievements
Rank 1
Pierre asked on 23 Jul 2018, 06:55 PM

It is possible with a "Normal" ReadAsync from the grid to provide more data without broken the DataSourceRequest response? I need to display some Azure User. Azure B2C has special way to achieve paging with NextLink token that I need to "store" in a hidden field. So the next time I receive a ReadAsync I can pass this NextLink and ask the correct page to the Azure API.

For now I can pass parameters from the view to the controller with the .data(javascript founction). But How I can get some custom parameter back in the RequestEnding function to store the info in hidden field?

 

Thanks

1 Answer, 1 is accepted

Sort by
0
Accepted
Konstantin Dikov
Telerik team
answered on 25 Jul 2018, 10:17 AM
Hi Pierre,

You could take a look at the suggestion in the following forum thread, which extends the DataSourceResult:
Hope this helps.


Regards,
Konstantin Dikov
Progress Telerik
Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Tags
Grid
Asked by
Pierre
Top achievements
Rank 1
Answers by
Konstantin Dikov
Telerik team
Share this question
or