|
Can i set up this query parametre programaticly, using my app to pass the ID of the current loged teacher to filter the dataset. |
We can set/pass the default ID value of the parameter in the control render viewer page (Client side)/ WebAPI (Server side) as shown in below code example,
JS:
WebAPI (Server Side):
We have prepared a sample and it can be downloaded from below location,
Sample: http://www.syncfusion.com/downloads/support/directtrac/general/ze/ReportViewerDemo1169952647.zip
Please refer to the below UG documentation link for more detail,
| ||
|
Can i also programaticly use my code filter a shared dataset or datasource, to make the report designer also shows filtred data. |
We can dynamically edit the report RDL file in code behind, please find the below KB document for more information,
|
Hello All,I am working in a school application, where each teacher :- can design his own reports using the data of it's students.- can render reports that shows only the data of it's students.Do i need to creat separate datasources ?, or can i manage this, the smart way, by editing the query using my code. Or getting ride of the report server and use directly my own db with my own querries.Happy new year and let the force be with you