Thursday, 18 October 2012
Microsoft ReportViewer - Change Subreport at runtime (rdlc)
Its possible to change a subreport at runtime using the below code.
Both reports need to be loaded from a Stream in order for this to work, but is easily achievable by adding a method to the reporting library to handle this.
The reporting Assembly contains a 'Common' Class with the following static methods:
And to call this code from my web application the following code can be used
Labels:
ASP,
ReportViewer
Friday, 12 October 2012
ASPxGridView Response.Redirect cannot be called in a Page callback.
If you need to redirect from an ASPxGridView you may have seen the message:
Response.Redirect cannot be called in a Page callback.
In order to get around this, DevExpress have added a method to the base webcontrol to redirect in a callback.
For Example:
Labels:
ASPxGridView,
DevExpress
Subscribe to:
Posts (Atom)