We are in the process of porting our Silverlight application to WPF. We have run into some minor issues with the Export dropdown and I want to see if I'm missing something.
For a little context, our Silverlight and WPF app live side-by-side and we are assuming our end users are likely to be using both applications. So we want to keep the experience between SL and WPF as close as possible. Also, because we already have an architecture in place for the SL app, we are reusing that for the WPF app. For example, when reports are run by the WPF app, they don't actually execute in process. Instead, we use the Web API REST service to run the reports. This is necessary because users of the WPF app don't actually have direct access to the database. Only the web server has the credentials to connect to the database.
The first issue I have is controlling the order of the Export formats in the dropdown. In the Silverlight app, we are able to control the order of the formats because we have our own IReportService implementation and have coded up the specific order in IReportService.ListRenderingExtensions(). I couldn't find a similar way to define the extensions that way in the Web API REST service. The only way I found to control the formats was via the app.config file for the WPF app. That works for hiding/renaming extensions but I couldn't get the 'order' property to work that is documented here: http://docs.telerik.com/reporting/configuring-telerik-reporting-extensions.
Am I doing something wrong with the order property or is there some other way to control the order? This may seem minor, but as I mentioned our users are going to be using both applications and having the dropdowns be different could lead to confusion. Interestingly enough, the order of the export dropdown is something that was important to our customers over 8 years ago (http://www.telerik.com/forums/order-of-export-formats-in-dropdown).
The other issue that I'm having trouble with is that it seems I need the rendering DLLs to be included in the WPF app in order for them to show up in the export dropdown. But all the exports I'm doing are being done by the web server, right so I don't even understand why the DLLs need to be on the client. As an example, until I included the Telerik.Reporting.OpenXmlRendering.dll included, the Word export didn't show up. It's not a big deal but I'd rather not have to include DLLs if they aren't being used.