Telerik Forums
Reporting Forum
0 answers
96 views
Good day,

I'm using value from database as a HTMLTextBox value and it displays it 'as is' (as a plain text). However, if I use the same HTML as HTMLTextBox value (add it directly, not from database) it displays it correctly. This is HTML:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><title>Untitled</title><style type="text/css"> .p_CC664AAA { margin: 0px 0px 12px 0px;text-align: left;text-indent: 0pt;padding: 0px 0px 0px 0px; } .s_E6FD2046 { font-family: 'Verdana';font- style: Normal;font-weight: normal;font-size: 16px;color: #000000; } .p_D6859706 { margin: 0px 0px 12px 28px;text-align: left;text-indent: 0pt;padding: 0px 0px 0px 0px; } .p_A2A17249 { margin: 0px 0px 12px 56px;text-align: left;text-indent: 0pt;padding: 0px 0px 0px 0px; } .p_22B181B1 { margin: 0px 0px 12px 84px;text-align: left;text-indent: 0pt;padding: 0px 0px 0px 0px; } .s_D94397EA { font-family: 'Verdana';font- style: Normal;font-weight: normal;font-size: 16px;color: #000000;background-color: #FFFF00; } </style></head><body><p class="p_CC664AAA"><span class="s_E6FD2046">This</span></p><p class="p_D6859706"><span class="s_E6FD2046">is</span></p><p class="p_A2A17249"><span class="s_E6FD2046">a</span></p><p class="p_22B181B1"><span class="s_D94397EA">test of the case note tool</span><span class="s_E6FD2046" /></p></body></html>

HOw can I fix it?

Regards,
Alex
Alexey
Top achievements
Rank 1
 asked on 06 Oct 2011
1 answer
146 views
Hi,

I am looking for an easy way to navigate to a bookmark in another report but can't find one. Currently I have an extra report parameter on the report I want to navigate to, in this parameter I put the bookmarkID. On the propertychanged event of this parameter I can receive the ID but can't find a way to navigate to this ID from my code behind.

Any help would be appreciated!
Sven
IvanDT
Telerik team
 answered on 05 Oct 2011
2 answers
158 views
Hello Guys

I am working with the crosstab, but it just shows the headers in the first page, the reports has around 100 pages, so is complicated to read, for that reason i want to know if Are there any possible to repeat the header columns in all pages to make easier the user read.

Regards

CM
Cesar
Top achievements
Rank 1
 answered on 05 Oct 2011
15 answers
315 views
Is it possible to navigate to a table containg the project details for the click event on pie chart (Both pie chart and table in same report.)?

That is the pie chart use to display number of process associated with each project.
So when click on one slice (represent a project) it should navigate to a table with project details in the same report.


Steve
Telerik team
 answered on 05 Oct 2011
1 answer
61 views
I am trying to create a report where in i am fetching records from database and in report we are using grouping to group particulars records.

After the records are grouped, i want to show the records in dual tabular form instead of a single table on every page. 

I have added an image format for exact output that is required.

Please help.
Steve
Telerik team
 answered on 05 Oct 2011
1 answer
282 views
We have a report which is grouped and showing the information as needed, only the problem is page header is having a field (Customerid) to show the value on top of every page, all information is showing correctly on all pages except that first customer id is displayed on every page ,which means the customer id is repeating not changing.fyi, this report also has a group added to segment the related data of customer.

Thanks & Regards,
Babita









Steve
Telerik team
 answered on 05 Oct 2011
1 answer
120 views
Telerik has been a great tool for me for a long time now, but I am struggling with a growing problem my customers are bringing to me. I'm not looking for a fix to a bug, more like advice or suggestions on how the tool can help me.

So, my customers like the reports I create but need two things: 1) More columns and 2) the ability to export to Excel, CSV or something so they can massage the data how they would like.

An example - I have a Product Utilization report that is very full that currently contains 9 columns, is in landscape format and includes lengthy columns like Description (which already wraps) and Manufacturer Name. They want to add 5 more columns. I can move columns to another row, but I think that looks messy. And more importantly, when you export this to Excel the data is not kept on one row for the customer to massage.

How do you guys handle this? What clever ideas have you come up with to address this.

Exporting is also causing a little grief - Excel seems to work OK but numeric columns are exported as strings so my customers can't easily sum columns, etc. CSV would work better, but it captures all kinds of crazy characters, shows summation fields as giant text strings of the column values instead of the actual calculation results. I'm toying with the idea of writing some additional code and tying the dataset to a grid and exporting the raw data myself, but I was really hoping I could avoid that. If I did go that route is there a way to override the export button so it will run my code instead of Telerik's code?

Thanks for the advice and suggestions!
Steve
Telerik team
 answered on 05 Oct 2011
5 answers
405 views
I've had a lot of need recently to use checkboxes on my reports. I've been using an example that I found on the forum where I actually place a picturebox where I want the checkbox, then load an image that is checked or unchecked depending on some logic in the databinding event handler for the detail section of the report. That works just fine for a few checkboxes, but I have several reports with 50-60 checkboxes each and it creates a lot of very cumbersome code.

Is it possible to create a custom control, inherited perhaps from picturebox, that I could then place on a telerik report? I would want to just add the logic to it to show the checked or unchecked image based on a Field it is bound to (boolean).
Steve
Telerik team
 answered on 05 Oct 2011
6 answers
242 views

Hi,

I'm using SL4 and Telerik Reporting with the latest components from Q1 2011!
From the other threads I used the mechanism to directly print reports
without first showing them within ReportViewer:

private void button1_Click(object sender, RoutedEventArgs e)       
{  

  var layoutRoot = (FrameworkElement)VisualTreeHelper.GetChild(this.ReportViewer1, 0);  
  var viewerModel = (ReportViewerModel)layoutRoot.DataContext;   
  viewerModel.ApplyReportParametersCommand.Execute(null);  
  viewerModel.PrintReportCommand.Execute(null);

}

Always the first time the parameter is not applied.
The mechanism for that is:

private void ReportViewer1_RenderBegin(object sender, RenderBeginEventArgs args)
{
  args.ParameterValues["Parameter1"] = textBox1.Text;
}

The Xaml-Code:

<telerik:ReportViewer Grid.Row="1" x:Name="ReportViewer1"
  Width="1000" UseNativePrinting="False"
  telerikControls:StyleManager.Theme="{Binding SelectedItem, ElementName=ThemeSelector}"
  ReportServiceUri="../ReportService.svc"
  Report="ClassLibrary1.Report1, ClassLibrary1" RenderBegin="ReportViewer1_RenderBegin" />

When I make the ReportViewer big enough to observe I can see that the report is rendered
correctly even the first time!
But the printed document has only the report skeleton missing the real data.
From the second call on (button click) the parameter will be applied and its is working fine.
If I toggle the UseNativePrinting to true  (the new default) it works also the first time.

Unfortunately I will need the UseNativePrinting=false option to get the reports with landscape-mode
immediately ready to print.

Please help me!
It is urgent since it should have been a fast switch from the old Q2 2010 Reporting.components
to the latest version and I have to deploy immediately.

Best Regards
Andrew

 

 

 

Peter
Telerik team
 answered on 05 Oct 2011
1 answer
175 views
I have some data lines that needs to be suppressed depending on a value sent to a report.  It's kind of in the middle if it shows. 

In Crystal reports you'd add multiple detail sections and suppress the section if it's blank.  Is there a way or workaround to do this.
vs2010

So
Some data
if data= 'Y' then show this else suppress this section with no blank space.
some other data.

I apologize if this is a newb question, I'm EXTREMELY NEW to telerik and didn't know we're switching to this.
Steve
Telerik team
 answered on 05 Oct 2011
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?