New to Telerik UI for ASP.NET MVC? Download free 30-day trial

DataSourceSchemaSettingsTagHelper

Example

<schema>
    <model></model>
</schema>

ChildTags

Tag Name Details
model DataSourceSchemaModelSettingsTagHelper

Attributes

Attribute Type Description
aggregates String The field from the response which contains the aggregate results. Can be set to a function which is called to return the aggregate results from the response.The result of the function should be a JavaScript object which contains the aggregate results for every field in the following format:For example, if the data source is configured like this:The aggregate results should have the following format:
aggregates-handler String The field from the response which contains the aggregate results. Can be set to a function which is called to return the aggregate results from the response.The result of the function should be a JavaScript object which contains the aggregate results for every field in the following format:For example, if the data source is configured like this:The aggregate results should have the following format:
data String The field from the server response which contains the data items. Can be set to a function which is called to return the data items for the response.
datahandler String The field from the server response which contains the data items. Can be set to a function which is called to return the data items for the response.
errors String The field from the server response which contains server-side errors. Can be set to a function which is called to return the errors for response. If there are any errors, the error event will be fired.
errors-handler String The field from the server response which contains server-side errors. Can be set to a function which is called to return the errors for response. If there are any errors, the error event will be fired.
groups String The field from the server response which contains the groups. Can be set to a function which is called to return the groups from the response.The result should have the following format:
groups-handler String The field from the server response which contains the groups. Can be set to a function which is called to return the groups from the response.The result should have the following format:
parse String Executed before the server response is used. Use it to preprocess or parse the server response.
total String The field from the server response which contains the total number of data items. Can be set to a function which is called to return the total number of data items for the response.
total-handler String The field from the server response which contains the total number of data items. Can be set to a function which is called to return the total number of data items for the response.
type String The type of the response.The supported values are: "xml" or "json". By default, the schema interprets the server response as JSON.
In this article
Not finding the help you need?