Telerik Forums
Reporting Forum
1 answer
137 views
I have created a report, completely wihin the designer. This report contains several graphs, wiyh on the x-axis the month-nr's. To achieve better readability, I want to convert the month-numbers to month-names. I have created a method:

public static string NRToMonth(int nr)
{
  string month = "";          
  switch (nr)           
  {               
    case 1:                   
      month = 
"jan";
      break;
    case 2:
      month =
"feb";
      break;



This methods works fine when used in a table, but now I want to convert the x-axis labels of several graphs. 
At this moment i really don't know which code and where to put this code to change the x-axis?

I can change parameters like axis-labels programmatically, but not convert axis values?

i'm using Telerik Reporting 2011 Q3
Steve
Telerik team
 answered on 11 Feb 2012
1 answer
89 views
I have a collection of Document objects that I'd like to bind to a table in my report. Each Document has a collection of Note objects as well. Is it possible to bind a table in such a way that there are master and detail records with different columns and values?

DOCUMENT: Id - Field1 - Field2 - Field3 - Field4
DOCUMENT: Id - Field1 - Field2 - Field3 - Field4 
  NOTE:   User - Text - Timestamp
  NOTE:   User - Text - Timestamp 
  NOTE:   User - Text - Timestamp 
DOCUMENT: Id - Field1 - Field2 - Field3 - Field4 
  NOTE:   User - Text - Timestamp 

And if not, is there an easy way to simulate such functionality? If you have any documentation or sample projects you can supply me with I'd appreciate it.

Thanks.
Steve
Telerik team
 answered on 11 Feb 2012
5 answers
144 views
Is there any chance that you will be providing a way to embed the new RadMap control within Reports generated by this Reporting Engine?  If not, then I would very much like to suggest this as a feature enhancement.

Thanks,
Lee
Steve
Telerik team
 answered on 11 Feb 2012
7 answers
427 views
Hi
i have downloaded latest version of telerik reports released on Report Q3 2010. thanks for new features
I want to open a new window of specific record when user click on image. We can use action for it. I define a javascript function which accept RecordId as parameter
function openWin(id)
{
window.open("mypage.aspx?employeeId="+id);
}
This javascript function is in my aspx file where i have placed ReportViewer Control
on action of image i select Navigate to url if i write javascript:alert('ok') it works fine and display alert
Now how can i call my javascript function defined in my aspx page and how pass parameter for each row
Steve
Telerik team
 answered on 10 Feb 2012
3 answers
172 views
Greetings!

I have a master report with several subreports in it.  I need to keep all of the sections for the subreports in my master report, but would like to print the word "None" or "No Records Found" whenever a subreport has no records.  Hopefully this is a simple thing to do... any suggestions?

Your assistance is appreciated!

Matt
Steve
Telerik team
 answered on 10 Feb 2012
3 answers
392 views
For our customer we need to print a patients' medical file with appointments. This has some legal implications like every appointment should get assigned a page number in the file which cannot change once assigned.

So what we need to do is to retrieve the page number in code and update the database and then ensure that every time the report is generated the page number remain the same (the data won't change once the page number has been assigned). Also the height of each data row can be variable depending on the medical information applied by the doctor. Can Telerik Reporting do this?

We would use the Silverlight ReportViewer.
IvanY
Telerik team
 answered on 09 Feb 2012
1 answer
181 views
Hello, I am using a secure site (https) and get the following error whenever I try to run the report. I do not get this on a non-https site. Is there some kind of configuration I need for a secure site? Thanks

Error: System.Reflection.TargetInvocationException : An exception occurred during the operation, making the result invalid.  Check InnerException for exception details.
   at System.ComponentModel.AsyncCompletedEventArgs.RaiseExceptionIfNecessary()
   at Telerik.Reporting.Service.SilverlightClient.RenderAndCacheEventArgs.get_RenderingResult()
   at Telerik.ReportViewer.Silverlight.ReportViewerModel.OnRenderAndCacheCompleted(Object sender, RenderAndCacheEventArgs e)

------------- InnerException: -------------

System.ServiceModel.CommunicationException : The remote server returned an error: NotFound.
   at System.ServiceModel.Channels.Remoting.RealProxy.Invoke(Object[] args)
   at proxy_3.EndRenderAndCache(IAsyncResult )
   at Telerik.Reporting.Service.SilverlightClient.ReportServiceClient.OnEndRenderAndCache(IAsyncResult result)
   at System.ServiceModel.ClientBase`1.OnAsyncCallCompleted(IAsyncResult result)

------------- InnerException: -------------

System.Net.WebException : The remote server returned an error: NotFound.
   at System.Net.Browser.AsyncHelper.BeginOnUI(SendOrPostCallback beginMethod, Object state)
   at System.Net.Browser.BrowserHttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
   at System.ServiceModel.Channels.HttpChannelFactory.HttpRequestChannel.HttpChannelAsyncRequest.CompleteGetResponse(IAsyncResult result)

------------- InnerException: -------------

System.Net.WebException : The remote server returned an error: NotFound.
   at System.Net.Browser.BrowserHttpWebRequest.InternalEndGetResponse(IAsyncResult asyncResult)
   at System.Net.Browser.BrowserHttpWebRequest.<>c__DisplayClass5.<EndGetResponse>b__4(Object sendState)
   at System.Net.Browser.AsyncHelper.<>c__DisplayClass4.<BeginOnUI>b__1(Object sendState)
Steve
Telerik team
 answered on 09 Feb 2012
13 answers
922 views
I really don't know what to say... i've been working on implementing my reports for the past 2 weeks (was previously in Crystal Reports) and now that i'm done, i see that the printing is by far more beautiful than the PDF rendering...

We just converted our application before moving to Telerik to be able to send our invoices via email and now, when i look at it, it is pretty disgusting. The Bar code can't be scanned at all, the lines and texts all seem bold. In fact, everything is badly drawn in the PDF. Like i was looking at a 72DPI image with poor resolution that was stretched...

Please look at the printout that i scanned in high DPI and the PDF files below... Not the same at all. We can't send these PDFs to our client before cleaning this out. And i worked 2 weeks full time to learn how to use Telerik Reporting and convert our Crystal Reports to it. What can i do?

Print out scans
Printout equivalent of invoice f-09-4867.pdf
Printout equivalent of invoice f-09-4868.pdf
Part1 of printout equivalent of f-09-4868-detail-intervention.pdf
Part2 of printout equivalent of f-09-4868-detail-intervention.pdf

Rendered PDF files
Rendered PDF for F-09-4867
Rendered PDF for F-09-4868
Rendered PDF for F-09-4868-Detail-Intervention


http://www.groupe-cdgi.com/temp/F-09-4868.pdf




Thanks, Mathieu
Steve
Telerik team
 answered on 09 Feb 2012
1 answer
82 views
I would like to create barcode overlay in my project with telerik reporting. The barcode's value is load from datasource
But when I try to hide the small barcode from report with condition , other items move up.
How can fix this issue?  Were there any way to fix the location of object on the report?
Steve
Telerik team
 answered on 09 Feb 2012
1 answer
113 views
hi
i have a radgridview that it full by a dataset while load my form.
it's fields are number, Id,name,familly that type of number field & Id field is "int" into sqlserver table,now i want number & Id field be a linkable cell while loads my  form, and i want while click on the Id field (1,2,3,.....) or click on the  number  field (1,2,3,......)  open a new form or show a message & other things,
plz help me,
already thanks a lot.
Ivan Petrov
Telerik team
 answered on 08 Feb 2012
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?