Telerik Forums
Reporting Forum
1 answer
237 views
Hi,
    In my project I have one telerik report viewer and two telerik text Editor. Right now for printing the report the user needs to click print button of respective control.
     I am using the telerik text editor for printing the data since telerik reporting tool does not supports html.
Now I want to have a common print button . On clicking it I  want to print text from report viewer , and text from 2 text Editor.
    The user will click on one button and the text from all the controls will get printed.
  For this I found the sample code from telerik forum  http://www.telerik.com/community/forums/thread/b311D-ctegm.aspx)
which suggests to use the following javascript function on print button:
<form id="Form1" method="post" runat="server">
 <script type="text/javascript">
 function printRTB()
 {
   var printIframe = document.createElement("IFRAME");
  document.appendChild(printIframe);
  var printDocument = printIframe.contentWindow.document;
  printDocument.open();
  
  var editorHolderDiv = document.getElementById("editorHolder");
  var theEditorContentHoder = editorHolderDiv.childNodes[0];
  printDocument.write(theEditorContentHoder.innerHTML);
  printDocument.close();
  printDocument.execCommand("Print");
  document.removeChild(printIframe);
 };
 </script>
 <div id="editorHolder">
 <rade:radeditor id="RadEditor1" editable="true" runat="server" saveinfile="false" haspermission="false">test test test</rade:radeditor>
 </div>
 <input type="button" id="btnPrint" OnClick="printRTB();" value="Print">
</form>


Can I print the data from report viewer using the above code?

Thanks,
Rahul
Svetoslav
Telerik team
 answered on 15 Dec 2007
4 answers
234 views
I have existing reports rendered by an aspx page.  Is it possible to convert them to PDF using Telerik Reporting? Similar to this product  http://www.dotnet-reporting.com/html-To-Pdf-Converter.aspx

I hope there's a way...we'd hate to rewrite the reports.  Thanks!
Svetoslav
Telerik team
 answered on 15 Dec 2007
5 answers
255 views
Hi There,

Can you tell me where I can get the source code for:
Telerik Reporting - Design Time Support for Parame

The video shows some code that is pasted in by the presenter and I cannot replicate it.

My License includes the source code element.

Thanks,

Steve Wilson.
Chavdar
Telerik team
 answered on 13 Dec 2007
3 answers
193 views
Hi, I am try to convert a reports from Crystal XI  but the log report give me the following messages at  formula fields 
Error: Error setting Value property: TextBoxConvertor is unable to convert the value of pagina221..

The formula field  contains only a label " Name of File"

or
Warning: Conversion unavailable for Format property of ITextObject.[F11]
Error: Error setting Value property: TextBoxConvertor is unable to convert the value of F11.

the Value of F11  is " Date of "


Can you help me please.


Rossen Hristov
Telerik team
 answered on 13 Dec 2007
3 answers
400 views
Hi

I am trying to create a report that can have multiple columns and first column which is caption for each row should only appear once and should not repeat like other data columns, I just want to find out is this possible with multi column support? if yes how?

I also want to know how to insert page break at runtime?

Your help will be much apperciated

regards

haroon
Rossen Hristov
Telerik team
 answered on 12 Dec 2007
1 answer
221 views
Hello telerik team,

first of all - great reporting tool that you wrote.
I have already read the threads about to hide space where no data is shown, but it didn´t solve my problem.

I also have a subreport which not always shows data. If the subreport has no data - of course it should not show the vertical space which is occupied by the textboxes when data is bound to the subreport.

I already tried setting the visible-property to false or to clear the control collection in the _ItemDataBound Eventhandler of the subreport or also in the _NeedDataSource Eventhandler of the parent report but it is regardless the same.

Thank you in advance,
Simon


simon
Top achievements
Rank 1
 answered on 11 Dec 2007
2 answers
152 views
I am creating a line report by adding dynamically the values for the series. Also, i am trying to set a different color for every line but I can't do that, since it is always setting default colors.
I tried by setting it for every element in the series via AddItem method (serie.AddItem(itemValue, null, colorToSet) but it didn't work. Also I tried to set it via the property Appearance.FillStyle.MainColor of every series item and didn't work too. Finally, I tried with SetColors method and did not work.
What should I do in order to set dynamically the color of every series line?
Jp Maxwell
Top achievements
Rank 1
 answered on 11 Dec 2007
2 answers
234 views
I've just installed the Telerik Reporting Demo.
I'm getting multiple errors in Report1.Designer.vb.
This happens right after I have created a report using the Wizard.

Type 'Telerik.Reporting.Drawing.StyleRule' is not defined.
Type 'Telerik.Reporting.Drawing.Textbox' is not defined.
etc..

Is my installation screwed up?

Any suggestions would be helpful.
Matt
Top achievements
Rank 1
 answered on 07 Dec 2007
3 answers
167 views
Dear Telerik,
I downloaded trial version of Telerek Reporting and found that it is not integrates in Microsoft VS 2008. Could you tell please when are you going to integrate Reports in VS 2008?
Thank you,
George
Svetoslav
Telerik team
 answered on 07 Dec 2007
3 answers
291 views
Hi,
    I am using telerik report to print varchar(max) data type. In my application I have used telerik Text Editor. Data written in telerikText Editor is stored as varchar(Max) datatype.
     While viewing the report the text is getting adjusted according to the html tag in data.
eg. If the data stored by text editor is  <b>Title</b> ,in view I can see the  Title as bold
    However while taking the print out the print is not showing the formatted text.
Infact the html tags are printed. eg In above case <b>Tilte</b> is printed.
    I want only the text title to be printed bold without html tags.
   Can you please tell me how to print Varchar(Max) datatype in Telerik Report?
Thanks,
Rahul
Svetoslav
Telerik team
 answered on 07 Dec 2007
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?