Telerik Forums
Reporting Forum
3 answers
126 views
Hello,

    I'm trying to generate report programatically using parameters(in web application), But right now I'm able to develop a report only through wizard.
Is it possible to generate a report programatically.

Could you please provide me any link or video for this issue.

Its urgent.

Thnaks & Regards,
Balu.
Steve
Telerik team
 answered on 31 Oct 2008
1 answer
348 views
We our currently trying to convert several of our reports from Crystal to Telerik.  On several of our reports, we have a retrieve a data item from the database that contains HTML markup.  Is there any way to preserve that markup and have it displayed on the report?  

textbox:       [=Fields.userProfileInfo]

In Crystal, we had a property that identified the input text format and so it was rendered properly.
ie: Text Format - crHTMLText or crStandardText

Thanks you,
Steve
Telerik team
 answered on 30 Oct 2008
4 answers
183 views
Hi there,

In the features section of telerik reporting it states the following:

"You can databind Telerik Reporting to Business Objects, XML, Web Services and any ADO.NET datasource..."

Can you direct me to some documentation on how to connect to a Web Service and then use the results of that web service with your reporting tools? As i can't find anything in the help file i downloaded.

Thanks

Dave
Steve
Telerik team
 answered on 30 Oct 2008
1 answer
69 views
hello,

I’m creating a pdf file that exists of many subreports, I have a question. Can I define the first subreport as another format as the other subreports? For example, the first subreport is in DIN A4 portrait format, the other subreport default format is in DIN A4 landscape format.

If not, do you have any other idea? Many thanks.


Steve
Telerik team
 answered on 30 Oct 2008
3 answers
83 views
I'm using the technique outlined in the KB ID 1025 to generate a hyperlink in a report displayed on the web.  It works great.  The problem I have is when the user exports the report to Excel.  I'd like to prevent the report from rendering the HTML code for the hyperlink.  Is it possible to know when a report is rendered to HTML and when it's rendered to another format?

Thanks!
James
Steve
Telerik team
 answered on 29 Oct 2008
1 answer
70 views

Hello,

on my report i have a simple chart1. This chart1 has a datagroupcolumn and uses the NeedDataSource event. The chart is shown perfectly in the report.
However when exporting to PDF/TIFF/ HTML it shows a different chart!

Simple example:

In the chart1.designer.cs code i add 2 lines:

this.chart1.DataGroupColumn = "Name";   
this.chart1.NeedDataSource += new System.EventHandler(this.chart1_NeedDataSource);


In the chart1.cs code i have add the following needdatasource:

private void chart1_NeedDataSource(object sender, System.EventArgs e)
       
   Telerik.Reporting.Processing.Chart chart = sender as Telerik.Reporting.Processing.Chart;
   DataTable tbl = new DataTable();
   DataColumn col = new DataColumn("Val");
   col.DataType = typeof(int);
   tbl.Columns.Add(col);
   col = new DataColumn("Val2");
   col.DataType = typeof(int);
   tbl.Columns.Add(col);
   col = new DataColumn("Name");
   col.DataType = typeof(string);
   tbl.Columns.Add(col);
   tbl.Rows.Add(new object[] { 11, 3, "a" });
   tbl.Rows.Add(new object[] { 11, 4, "a" });
   tbl.Rows.Add(new object[] { 11, 5, "b" });
   tbl.Rows.Add(new object[] { 11, 6, "b" });
   tbl.Rows.Add(new object[] { 11, 7, "c" });
   tbl.Rows.Add(new object[] { 11, 8, "c" });
   chart.DataSource = tbl;
        }

When exporting this to PDF is seems like if the first bar of the datagroup is correct, but the other bars are just copies of this first bar, even though they have different values. There seems something wrong with rendering to PDF when you are using the DataGroupColumn. This seems like a bug.
When i just remove the DataGroupColumn, it obviously shows me a completely different chart, but that one is exported in the right way.  We are using Telerik Reporting 2008 Q1. I've read some release notes of future versions but cannot find anything related to this. Any suggestions?

John Neus


 





 

Steve
Telerik team
 answered on 29 Oct 2008
1 answer
224 views
Hello I recently gave .net 3.5 sp1 a good go with visual studio 2008 Express on my windows XP System.

I would like to know how to install the projetct templates of Reporting to Visual Studio 2008 express C# and visual web developer. so i can also use the reports designer.

thank you
Steve
Telerik team
 answered on 29 Oct 2008
10 answers
293 views
Hello,

I am using version 2.8.8.925 of the Telerik Reporting tools. I have a custom user function that I am using in two textboxes. the code is simple enough but I think I may be doing something wrong.

Class Function
public static string DecodeHtml(string html)  
        {  
            string decodedText = HttpContext.Current.Server.HtmlDecode(html);  
            return decodedText;  
        } 
Control 1
=DecodeHtml(Fields.Description) 


Control 2
=DecodeHtml(Fields.ResolutionComment) 

 The report looks fine except that the first field works and the second field produces the following error.
Describe the Problem:   
    
    
  Many aircraft's Work Unit Code (WUC) manuals have WUC's for wiring scattered throughout the manual. Also, there are few are or wire bundle specific WUC's. This all contributes to inaccurate data being entered into the maintenance data reporting system. Having WUC's scattered throughout the manual b aircraft system instead of   
by aircraft location and/or wire bundle leads to inaccurate data submission and wasted time looking for the "best" WUC to use for a particular repair. Better use of WUC's will provide more detailed data submission which will enable better data extraction and better tracking of wiring problems. Wiring should be treated as a separate system and not as parts of several other aircraft systems. WUC's for wiring should be combined into a separate section in the WUC manual. WUC's for aircraft areas and/or wire bundles should be added. N.O.C. WUC's should be removed from the manuals. Also, more wire specific malfunction codes should be added. The E-2C aircraft community is currently working this issue. Recommend checking with them for ideas of what can be done.   
    
    
  Resolution:   
    
  #ERROR# The expression contains undefined function call DecodeHtml().   
   
 

Not sure why this is the case, but I am also getting the same issue if I replace my function with the StripHtmlTags() function.

Any help would be fantastic! Thanks.

Very Respectully,

John
johnv
Top achievements
Rank 2
 answered on 28 Oct 2008
2 answers
77 views
I found some older posts regarding medium trust issues - has this been resolved as of yet or is Full Trust still a requirement?
Steve
Telerik team
 answered on 27 Oct 2008
2 answers
167 views

please i need this code in VB. i was trying to convert but a i have some troubles. :S plz help me.

thx.


public Form1()
{
initializeComponent();
Reportviewer1.report = new Report1();
}

private void btnRun_Click(object sender, eventArgs e)
{
(reportviewer1.report as report1).param1= tbParam1.text;
}

Mel
Top achievements
Rank 1
 answered on 27 Oct 2008
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?