I am having a problem putting my .igr files into a subdirectory of my WPF project.
Uri reportUri = new Uri("/Bill;component/GenericInvoice.igr", UriKind.Relative);
works fine when GenericInvoice.igr is in the root of my project, but how can i put GenericInvoice.igr into a folder that houses my .igr files? It seems Uri reportUri = new Uri("/Bill/Invoices;component/GenericInvoice.igr", UriKind.Relative);
reports an error that it can't find GenericInvoice.igr
doh! thank you, that was an easy one for you, no doubt
Hello Travis,
When using a directory structure the syntax should be <assemblyname>;component/<directory name>/<report name>.
Please try using Uri reportUri = new Uri("/Bill;component/Invoices/GenericInvoice.igr", UriKind.Relative);
Let me know if you have any questions.
Sincerely,
Valerie Developer Support Supervisor - XAML
Infragistics
www.infragistics.com/support