blazor-docs/knowledge-base/grid-datasourcerequest-on-s...

35 строки
1002 B
Markdown
Исходник Постоянная ссылка Обычный вид История

2021-01-22 19:01:28 +03:00
---
title: Use Telerik DataSourceRequest and DataSourceResult on the server
description: How to use Telerik DataSourceRequest and DataSourceResult on the server.
type: how-to
page_title: Telerik DataSourceRequest and DataSourceResult
slug: grid-kb-datasourcerequest-on-server
position:
tags:
res_type: kb
---
## Environment
<table>
<tbody>
<tr>
<td>Product</td>
<td>Grid for Blazor</td>
</tr>
</tbody>
</table>
2021-01-22 19:01:28 +03:00
## Description
How to send the Grid state to the server and retrieve data? How to use Telerik `DataSourceRequest` and `DataSourceResult` on the server?
docs: apply spelling fixes from ReDox report (#2010) * Fix "It is" to "This is" Reported by retext_simplify * Update wcag-section-508-wai-aria.md * Fix typo * Fix typos * Update telerik-datasource-package.md * Update encoding.md * Update buttons.md * Update selection.md * Update overview.md * Update actions.md * Update building-blocks.md * Update overview.md * Update trendlines.md * Update candlestick.md * Update donut.md * Update heatmap.md * Update pie.md * Update selection.md * Update overview.md * Update wai-aria-support.md * Update custom-colors.md * Update presets.md * Update data-bind.md * Update keyboard-typing.md * Update overview.md * Update supported-formats.md * Update events.md * Update spreadsheet.md * Update spreadstream.md * Update templates.md * Update data-bind.md * Update context-menu.md * Update events.md * Update overview.md * Update preview-pane.md * Update search.md * Update sort.md * Update views.md * Update overview.md * Update overview.md * Update validation.md * Update events.md * Update formitemstemplate.md * Update state.md * Update editing.md * Update visible.md * Update width.md * Update editor.md * Update labels.md * Update pointers.md * Update labels.md * Update pointers.md * Update labels.md * Update scale.md * Update overview.md * Update labels.md * Update data-binding.md * Update refresh-data.md * Update sizing.md * Update overview.md * Update single.md * Update editor.md * Update filter.md * Update overview.md * Update events.md * Update selection.md * Update selection.md * Update appearance.md * Update templates.md * Update overview.md * Update mask-prompt.md * Update overview.md * Update navigation.md * Update templates.md * Update overview.md * Update overview.md * Update templates.md * Update refresh-data.md * Update overview.md * Update wai-aria-support.md * Update overview.md * Update data-binding.md * Update overview.md * Update data-bind.md * Update data-bind.md * Update events.md * Update edit-appointments.md * Update appearance.md * Update overview.md * Update overview.md * Update orientation.md * Update indicators.md * Update navigator.md * Update overview.md * Update candlestick.md * Update ohlc.md * Update overview.md * Update wai-aria-support.md * Update icons.md * Update built-in-tools.md * Update position.md * Update template.md * Update overview.md * Update row-drag-drop.md * Update checkbox.md * Update visible.md * Update incell.md * Update checkboxlist.md * Update single.md * Update editor.md * Update filter.md * Update drag-drop.md * Update overview.md * Update multiple.md * Update single.md * Update events.md * Update overview.md * Update buttons.md * Update stepper.md * Update ci-cd-build-server.md * Update troubleshooting.md * Update convert-project-wizard.md * Update localization.md * Update fiddler-jam.md * Update cdn-fallback.md * Update chart-performance-optimization.md * Update combo-debounce-onread.md * Update combobox-clear-button-click.md * Update combobox-not-closing.md * Update common-connection-closed.md * Update common-kb-render-fragment-parameter-null.md * Update common-newtonsoft-breaks-datasourcerequest-serialization.md * Update common-theme-customization-options.md * Update common-wasm-prerendering.md * Update date-input-picker-datetimeoffset.md * Update drawer-add-tooltip.md * Update dropdown-kb-bind-to-enum.md * Update dropdowns-get-model.md * Update editor-add-text-templates.md * Update form-dirty-fields.md * Update grid-aggregates-and-datatable.md * Update grid-bootstrap-flex-width-issue.md * Update grid-conditional-cell-background.md * Update grid-customize-delete-confirmation-dialog.md * Update grid-datasourcerequest-on-server.md * Update grid-detailtemplate-renders.md * Update grid-expand-button-tooltip.md * Update grid-filter-operator-dropdown.md * Update grid-force-refresh.md * Update grid-get-filtered-data.md * Update grid-multiselect-editor.md * Update grid-number-formatting-of-the-csv-export.md * Update grid-persist-selection-across-pages.md * Update grid-sort-descending.md * Update grid-static-group.md * Update grid-wrap-and-center-column-text.md * Update grids-foreign-key.md * Update listview-searchbox.md * Update menu-authorize-view.md * Update multiselect-selected-items-order.md * Update nest-render-fragment.md * Update numerictextbox-scientific-format-small-numbers.md * Update pdfviewer-sign-pdfs.md * Update textarea-autosize-max-height.md * Update textbox-validate-on-change.md * Update treeview-disabled-readonly.md * Update treeview-horizontal-scrollbar.md * Update typescript-exports-error.md * Update window-custom-css-styling.md * Update swatch-distribution.md * Update old-version-support-policy.md * Update 2-0-0.md * Update 3-0-0.md * Update 3-6-0.md * Update 4-3-0.md * Update components/pivotgrid/data-binding.md Co-authored-by: Dimo Dimov <961014+dimodi@users.noreply.github.com> * Update knowledge-base/dropdowns-get-model.md Co-authored-by: Dimo Dimov <961014+dimodi@users.noreply.github.com> --------- Co-authored-by: Dimo Dimov <961014+dimodi@users.noreply.github.com>
2024-04-01 17:39:12 +03:00
How to call the server and receive only the desired information for paging, sorting, filtering?
2021-01-22 19:01:28 +03:00
How to optimize the amount of loaded data?
## Solution
A couple of examples are available in the following project: [https://github.com/telerik/blazor-ui/tree/master/grid/datasourcerequest-on-server](https://github.com/telerik/blazor-ui/tree/master/grid/datasourcerequest-on-server).