I am trying to trigger a report to print once it has been rendered using either the native Silverlight printing ability or the integration with Adobe Acrobat.
In my searches I have found this forum post - http://www.telerik.com/community/forums/reporting/telerik-reporting/reporting-parameters-first-time-not-applied-when-usenativeprinting-false.aspx
Which seems to describe how to do it, but when I try this approach, using the ReportServiceClient RenderAndCacheCompleted event, I get a SecurityException if using native print support (not a user triggered event so understandable) and when trying to print using non-native, apparently nothing happens at all.
When I debug I can see the PrintReportCommand execution is failing (checking CanExecute returns false), possibly due to the ReportViewerModel state being ViewerWorkInProgressState.
It almost seems like this isn't the right event, like it's still too early to trigger the print operation at this point, but there don't seem to be any other events to indicate the report has completely rendered.
Is any other way of doing this? Thanks.
class Company { public string companyname { get; set; } public static List<Company> GetAll() { List<Company> allCustomers = new List<Company>(); Company customer = new Company(); customer.companyname = "Smith & Sons"; allCustomers.Add(customer); customer = new Company(); customer.companyname = "Miller Corp."; allCustomers.Add(customer); customer = new Company(); customer.companyname = "Clarksons"; allCustomers.Add(customer); return allCustomers; } public List<Employee> getEmployees() { List<Employee> employees = new List<Employee>(); Employee person = new Employee(); person.name = "Mr." + this.companyname; employees.Add(person); person = new Employee(); person.name = "Father of " + this.companyname; employees.Add(person); return employees; } }
Desc | value | location | State | |
PO 45657 | ||||
Screap thing 1 | value 1 | XYZ | Korera | |
Screap thing 2 | value2 | |||
Screap thing 3 | value3 | Korera1 | ||
PO 45658 | ||||
Screap thing 4 | value 4 | Korera | ||
Screap thing 5 | value5 | |||
Screap thing 6 | value6 | Korera1 |
Hi,
I need to implement a Document map to a report as shown in below image fig 1.version.
As of now i am able to get First level of Hierarchy as shown in fig 2. I had used group in detail section and able to get Nos 1,2,3.. under Main. But unable to retreive "Page 1, Page 2.." under that.
As like in report if click on any Nos or Page number, It should redirect to corresponding page.
Please provide a solution or a sample Example