Telerik Forums
Reporting Forum
1 answer
115 views
I am presently using the bundled Crystal Reports, but I am looking at Telerik Reporting to supplement or replace it. I have a problem with a specific report in Crystal and I wonder if the Telerik product can do a better job.

The report is a two column member directory with family members. It lists the member name, contact info, spouse, and children. I want each family group to stay together, and not break cross a column or a page. With Crystal, the family groups will not break across a page (which is good), but they will break across a column (bad). After much web searching and support ticketing, I find that this can't be done in Crystal.

Can Telerik Reporting handle this?
Ivan
Telerik team
 answered on 24 Mar 2009
1 answer
95 views
hello ,
Please any one can help me , I get this error 
An error has occured while processing Chart 'chart1':
An Unexpected error has occurred. Please review the InnerException for more information how to resolve the problem.
(happened when item doesn't have value then other choose another item get this )


this is my code


 

private void chart1_NeedDataSource(object sender, EventArgs e)

 

{

Telerik.Reporting.Processing.

Chart medicationChart = sender as Telerik.Reporting.Processing.Chart;

 

 

DateTime fromDate = Convert.ToDateTime(this.ReportParameters["StartDate"].Value);

 

 

DateTime todate = Convert.ToDateTime(this.ReportParameters["EndDate"].Value);

 

 

string country = this.ReportParameters["CountryId"].Value.ToString();

 

 

int recordCount = Convert.ToInt32(this.ReportParameters["RecordCount"].Value);

 

 

GetMedicationReportTableAdapter adapter = new GetMedicationReportTableAdapter();

 

 

dsMedication.GetMedicationReportDataTable data = adapter.GetMedicationData(fromDate, todate, country, recordCount);

 

medicationChart.DataSource = data.DefaultView;

}

 

thanks in advance


Chavdar
Telerik team
 answered on 24 Mar 2009
6 answers
369 views
Hello,

How can I make a panel or detail row in the grid have a gradient background?

I only see one color I can set for the background color of either. I tried using an image (gradient) as the background image and repeated it with the RepeatX option and it worked except I can see on the panel where each image is repeated (i.e. there are visible vertical lines across my panel.

Should I create a new gradient image that matches the width of my report so the repeating won't happen or is there a better way to get gradient on a panel?

Thanks.
Svetoslav
Telerik team
 answered on 24 Mar 2009
0 answers
68 views

Hello ,
Please any one can help me , I made Report in telerik reporting with  4 report parameters 2 datetime , 1 integer , 1 string , inside this report I put subreport with same parameter because main report for chart and subreport for display date , first
NeedDataSource fired true but second NeedDataSource  have error  Error converting data type nvarchar to datetime sql exception was unhandled by user code

 

thanks in advace

Nada
Top achievements
Rank 1
 asked on 24 Mar 2009
1 answer
119 views
Hi,

I have developed a web site where I use this function:

Dim report1 As New Report1()
Dim mimType As String = String.Empty
Dim extension As String = String.Empty
Dim encoding As Encoding = Nothing
Dim buffer_it As Byte() = Telerik.Reporting.Processing.ReportProcessor.Render("PDF", report1, Nothing, mimType, extension, encoding)
Dim fs_it As New FileStream(strAttachment_pdf_path & id_ordineRif & "_1_ITALIANO.pdf", FileMode.Create)
fs_it.Write(buffer_it, 0, buffer_it.Length)
fs_it.Flush()
fs_it.Close()

to create a PDF file from a telerik report at runtime.

On the development machine it works well.
When I deploy the web site on the remote server, I have this permission error:

"Access to the path 'c:\windows\system32\inetsrv\1159_MauroCattaneo_1_ITALIANO.pdf' is denied"

I understand that telerik code use this folder to create a temporary file, am I wrong?

I ask my provider to give my website permission to this folder, but I don't know if they agree...

Is there another way for me?

Thanks in advance...

Best Regards
Mauro Cattaneo - Italy
Milen | Product Manager @DX
Telerik team
 answered on 23 Mar 2009
1 answer
70 views
hola, mental know if you can use the kind of reporting in a Windows Application as a designer without using Visual Studio
Svetoslav
Telerik team
 answered on 23 Mar 2009
4 answers
106 views
Ok...In my report I tried building a report using textboxes.  It was working "ok" but the web preview wasn't looking good at all and completely off from the other preview.

I then decided to open the word doc and save it as a .jpg.  I created a picture viewer and put the .jpg image of the report in place.  I went to preview it and it crashes visual studio.  It gives this error:

Could not find any resources appropriate for the specified culture or the neutral culture.  Make sure "CoverSheetReport.resources" was correctly embedded or linked into assembly "App_Code.gaslankx" at compile time, or that all the satellite assemblies required are loadable and fully signed.

The .jpg file is added to the project and I browsed to that location on the machine.  Any help would be appreciated.

Thanks!


Svetoslav
Telerik team
 answered on 23 Mar 2009
4 answers
425 views

Hi

I want the rowcount / linenumber of each line in the detailsection showing up. E.g.

#    Name
1    foo
2    bar 
3    cat
4    dog

I think this must be very easy achievable, but didnt found out how.

Regards
Joffrey
Svetoslav
Telerik team
 answered on 23 Mar 2009
5 answers
485 views

Hello,

I have a create a report  in which there will be dynamic number of columns. How can I add dynamic columns in a report and if the report size gets wider than the page size then the first two columns should repeat on the next page and the dynamic columns should start from the next after what is displayed on the first page. 

What makes this report tricky is that is has to page not only on rows but on columns. For example the dynamic columns of type is  "Room Type" with columns "K-1A" through "DD-1B" on one page. And If there are more room types, I need to create a second page with the same rows but with the additional room types. The header of Room Type(The dynamic column should be dynamic also)
For the deatiled view of report please see the following link:
http://picasaweb.google.com/lh/photo/lVd31YDancIyTPORZrwPaQ?feat=directlink

 

  • In the above link Item Code and description should repeat on the next page and the columns "K-1A"-"K-5A" are on one page and other columns should be on other page with the "Item code" and "description" repeat on the next pages too.
  • The next question is how can I add the columns dynamically with dynamic headers.

 

Hope my problem is clear in these words.
Please reply as I have to deliver my report as early as possible.

Thanks
Yuvika

 

 

 

 

Svetoslav
Telerik team
 answered on 20 Mar 2009
1 answer
180 views

Hi

I just copy the code from another thread and convert it to vb.net. I want to get the "cateID" data in ItemDataBound event, however, it (sCurrentID) always receive null. Are there any mistake in my code
  
Private Sub detail_ItemDataBound(ByVal sender As Object, ByVal e As System.EventArgs) Handles detail.ItemDataBound

        Dim procDetail As Telerik.Reporting.Processing.DetailSection = CType(sender, Telerik.Reporting.Processing.DetailSection)
        Dim oRow As DataRowView = TryCast(procDetail.DataItem, DataRowView)

        Dim sCurrentID As String = TryCast(oRow("CateID"), String)
End Sub

Please help me, thx a lot.

Alexis

Milen | Product Manager @DX
Telerik team
 answered on 20 Mar 2009
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?