Telerik Forums
Reporting Forum
1 answer
165 views
This seems to be something that would be fairly commonly needed, but I haven't been able to find out how to do it. So apologies if this is covered in the documentation somewhere. 

I need to catch the errors that show up and show some custom error text that is more user-friendly. For a timeout, I want to show something like "Report generation timed out, please try again.". What I don't want to show an end user is a full stack trace that shows up by default. So how can I capture the error, and change what gets displayed? 

I have actually seen two different time out messages. The most common one (attached: silverlighttelerikerrordisplay.png), and one I've only seen once (second attachment: silverlightteleriktimeout2.png). If I could get it to do this simpler, second option all the time, I could live with that. 

Also, I've tried dealing with the error message in the RenderAndCacheComplete event handler. However, the best I can do is put another control on the screen that has some text in it, which ends up looking like the third attachment (customerrorbox.png). If I could find a way to clear the content of the built-in error page, I could probably live with this option too. 

Any other ideas, or ways to improve the two potential options above?

TIA,
-David
Steve
Telerik team
 answered on 04 Apr 2012
2 answers
102 views
Hi Experts,

I have come accross a wired error saying "A domain error occured".
I simply have a table named "table8" and this table is bound to datasource when i ran the report is shows domain error occured. Please see attached screen shot of error.

Urgent response will be appreciated.

Thanks
Mohsin
Top achievements
Rank 1
 answered on 04 Apr 2012
2 answers
125 views
Just a suggestion:  When using the conditional formatting to set alternating row styles, it would be nice if the background color would be limited to the report's width rather than extending the full width of the page (8.5 in - left, right margins).
Dan
Dan
Top achievements
Rank 2
 answered on 04 Apr 2012
3 answers
441 views
I have created a report which is having summary information in the footer section,footer is diplayed in the report as expected but when i export to Excel footer is not displayed.when I tried to export it in PDF footer is displayed but very far from the details in  below of the PDF.Please assist me how to render the report along footer section in excel.
Steve
Telerik team
 answered on 04 Apr 2012
2 answers
3.4K+ views
Hi,

Can any one tell me how to aligned x-axis label in center of bar chart.
Please see attached screen shot highlighted with red box.
This is my current out put. I want the x-axis label to remain in center but the label text will be vertically in one line.
I tried by increasing the height of x-axis label....the label text become vertically in one line but the labels are automatically ligned to left.

Can any one give me any idea to make that center and vertically in one line.
I am not using code behind code. Need to done with designer.

Urgent response will be appericiated.

Thanks,
Mohsin
Top achievements
Rank 1
 answered on 03 Apr 2012
2 answers
225 views
Dear all,
I need to hide a column when exporting to PDF, or change the value of each row, is this possible?
The column I want to hide, has a link to access the details of a row in my app.
The value of the Textbox is "="<a href=/Persona.aspx/"+Fields.Id+" onclick='window.open(this.href);return false;'>"+"Detalle"+"</a>"".
I need to hide the entire column, or change the value.
at this time, the pdf shows me "<a href=/Persona.aspx/"+Fields.Id+...". Need to show me "Detail"

i Occupy the web report viewer in the project mvc.net.
version of Telerik Reporting is Q2 2011.

please,Help Me!
Peter
Telerik team
 answered on 03 Apr 2012
7 answers
253 views

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.

Steve
Telerik team
 answered on 03 Apr 2012
1 answer
54 views
Hello all.
Can I make a report of subreports of subreports with Telerik Reporting?
Steve
Telerik team
 answered on 03 Apr 2012
1 answer
106 views
Hi there,

I get all my data for the reports out of objects and no SQL!
All the objects do have methodes that do return lists of themself (statics) or lists of other ("linked" to this instsance) objects.

simple example:

	class Company
	{
		public string companyname { getset; }
 
		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;
		}
	}


So I created two reports (company + employee) and put the second as a subreport into the first.
The main report has as a datasource "Company.getAll" and the subreport "Company.getEmployees".
Now the problem: vor every parent object the method getEmployee" is called (in this example 3 times), but the instance of company is always EMPTY!? not null - all the properties are just blank)
Please have a look at the output attached. There I expected to read "Mr. Smith & Sons", "Father of Smith & Sons", "Mr. Miller Corp." and so on...

Is there a way how I can get the real instance of the parent object into the subreport?

Thanks in advance :-)


David Silveria
Top achievements
Rank 1
 answered on 02 Apr 2012
1 answer
49 views
Dear team,

I need my Report  as of below......

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


Can u please help me on this..... can u give me an example.
Steve
Telerik team
 answered on 02 Apr 2012
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?