Unplanned
Last Updated: 20 Jul 2022 16:03 by Carl
Carl
Created on: 20 Jul 2022 16:03
Category: Grid
Type: Feature Request
1
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"))

 

 

0 comments