Telerik Forums
Reporting Forum
6 answers
387 views
Hi there,

In my database I have a field that have html code in a string, like this example:

<!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; }
</style></head><body><p class="p_CC664AAA"><span class="s_E6FD2046">assunto 1</span></p></body></html>


So when I try show this in a report using HtmlTextBox control occures one error. Please see the picture.

I read somewhere in this forum, that this happens because the control donĀ“t support chars like < &  or > .. This is true?

How workaround?

Thanks
Elian
Telerik team
 answered on 27 Dec 2011
3 answers
181 views
i am using Q3 2011 reporting, chart. I am using a object data source. The x-axis is a set of dates (switched ot OADate).

I set autoscale to off at design time:

            this.chart1.PlotArea.XAxis.AutoScale = false;

And i have tried to set MinValue and MaxValue in the constructor and the NeedsDataSource event.
             chart1.PlotArea.XAxis.MinValue = new DateTime(2011, 1, 1).ToOADate();
             chart1.PlotArea.XAxis.MaxValue = new DateTime(2012, 1, 1).ToOADate();

However, my x-axis ALWAYS shows the whole series, which starts from 9/1/2009. However, I only need to show a portion of the line, not the whole thing.

What setting do i have wrong?

All the answer i have found have been regarding AutoScale = false, but i have already set that.
Elian
Telerik team
 answered on 27 Dec 2011
1 answer
192 views
I'm editing the xml files manually and trying to figure out what my options are.  Is there an API document for the XML that I can reference in modifying these files?

For example, trying to figure out how to define a default padding=5px for a style but I can't figure out the right syntax.


Thanks -wg
IvanY
Telerik team
 answered on 27 Dec 2011
1 answer
102 views
Hello,

I have a requirement where I need to take snapshot of user's screen and show it in ReportViewer and then allow the user to print etc. Can this be done with Silverlight's ReportViewer? I can't seem to find anything like this in any examples/documentation. All examples have data coming from server itself from ReportLib. I can't afford to send client side images to server just to show it in reportviewer and allow the user to print it because these images are not permanent and not to be saved in database.

Thanks in advance.
Elian
Telerik team
 answered on 27 Dec 2011
3 answers
670 views
Hi,

I am working on a report where I have some textboxes inside a panel. The height of panel should decrease if some of those textboxes are not visible. As per your suggestion in another forum, I have set the height of the panel to minimum right after InitializeComponent() so it will grow to fit its content. It is working but report is inserting white space equal to panel's original height after it displays the panel. I have attached the image of report template. The panel is in green color. As you can see there is white space between panel and the next blue colored textbox which is outside the panel.
Elian
Telerik team
 answered on 27 Dec 2011
1 answer
111 views
Hi,
I saw the telerik reporting online demos. Is there any code about it? how can i see?
Steve
Telerik team
 answered on 27 Dec 2011
1 answer
109 views
Hi,
 I create a asp.net web site and put a telerik reportviewer on the default.aspx.
 how can I set telerik reportviewer to remote mode to access report in report server?
which property should I set in the default.aspx.cs?
thanks
Steve
Telerik team
 answered on 27 Dec 2011
1 answer
186 views
Hello,

I am using Telerik Reporting Q3 2011. I am using Visual Studio 2010 Ultimate.
I Checked     Telerik.Reporting.VsPackage.dll in  C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\PrivateAssemblies
Product version Q3 2011 and File Verison is 3.20.0.0.
There is Telerik Reporting Q3 2011 Tools Tab but there is no any tool. There is a message " Controls in this Category are unavailable for the .NET Framework 4 Client Profile. To change this settings, open the Project Properties window."

When I changed the this properties to NET framework 3.5 at this time lost other winform tolls.

What can I do?

Thanks.

Steve
Telerik team
 answered on 27 Dec 2011
4 answers
186 views
It may be me, but I have a master report and in it I would like multiple sub reports that contain charts.

i created a report that works with the object model. Then I created a master repotr that contains this report (now a subreport) and sends it is List of the object model.
I do alot of settings of the chart programmatically in the detail report's "need data source" event.

However, the DataSource in the detail's "need data source" event is actually the whole collection and NOT an individual item from that collection.

I thought I had set it up in similar fashion as my grid data (does not use need data source event though), but I can't seem to figure out the trick to get it to work?

Does this make sense? Basically I a list of up to 4 objects. These objects contain info (title, points, etc.) necessary to construct a chart. I want the report to render 4 charts on my report.

any ideas?

thanks!
Robert
Top achievements
Rank 1
 answered on 26 Dec 2011
1 answer
247 views
Hi,

I have a web aplication (asp.net) that uses Telerik ASP.NET Ajax and Telerik Reporting componets.
One of web application's functionallity is generating PDF with Telerik Reporting component and return PDF document to user.

At the begining attempts everything is working OK, and pdf is generated fine (see attachment 'correct_pdf.jpg').
When I leave running my web aplication on IIS server for day or two, without restarting, I got strange PDF document. (see 'wrong_pdf.jpg').
As you can see, the space for the text is reserved correctly, but the text that should be inserted is not displayed all (only first few words of it) ???
[ I also enclose you document text.jpg that contains the whole text, that should be displayed in pdf. ]
Every further attampt after this one, with corrupted PDF, return also corrupted PDF... further more, if I export the same document to excel (my web application also support this functionallity) everything is OK ???

Does anybody got identical issues ?
Is there something that could be related to i.e. 'buffer size' or something similar ?
Is there any possibility that something is not OK in Telerik reporting or is more relevant that issue is related to the performance of server and application ?


Thank you,
Uros


Chavdar
Telerik team
 answered on 26 Dec 2011
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?