kendo-ui-core
kendo-ui-core copied to clipboard
Passing parameters to the query string through the Read() method of the DataSource
Is it possible to implement a method in the Read() configuration of the DataSource that will append parameters as name-value pairs to the query string?
For example:
.Read(r => r.URL(myUrlPath).Handler(myPageHandler).AddQryStrPairs(myNameValuePairsModel)) Currently, I am appending the parameters manually as follows:
.Read(r => r.Url(qurc.PageUrlPath "?handler=Read&area=" + TkgrArea + "&serviceType=" + qurc.ServiceType.ToString() + "&serviceTag=" + qurc.ServiceTag + "&entityType=" + qurc.EntityType).Data("forgeryToken"))