Telerik Forums
Reporting Forum
1 answer
120 views
Hello All,

I am using RadEditor default mode. Whenever select text and choose styling from dropdown (Paragraph,Heading1, Heading2..), it is not applied to selected text.

Instead html tag is placed around the selected text in RadEditor.

Also, I am extracting dropdown value from xml files. Below is the xml file I am using for binding dropdown:

 

 

<? xml version="1.0" encoding="utf-8" ?>

<root> 

<para title="&lt;p style='font-family:Geneva,Arial,Helvetica,sans-serif; font-size:12px; color:#666666; line-height:19px;'&gt; Normal &lt;/p&gt;" tag="&lt; p &gt;" />

<para title="&lt;h1 style='font-family:Geneva,Arial,Helvetica,sans-serif; font-size:35px; color: #00adec;'&gt; Heading1 &lt;/h1&gt;" tag="&lt; h1 &gt;" />

<para title="&lt;h2 style='font-family:Geneva,Arial,Helvetica,sans-serif; font-size:18px; color: #FF6699; line-height:22px;'&gt; Heading2 &lt;/h2&gt;" tag="&lt; h2 &gt;" />

<para title="&lt;h3 style='font-family:Geneva,Arial,Helvetica,sans-serif; font-size:25px; color:#00adec;'&gt; Heading3 &lt;/h3&gt;" tag="&lt; h3 &gt;" />

<para title="&lt;h4 style='font-family:Geneva,Arial,Helvetica,sans-serif; font-size:18px; font-weight:100; color:#999999; line-height:22px;'&gt; Heading4 &lt;/h4&gt;" tag="&lt; h4 &gt;" />
</root>

 

 



Please provide solution for this.
Rumen
Telerik team
 answered on 13 Jul 2009
1 answer
82 views
I recently installed Telerik Reporting Q2 2009 but the project templates shown in the webcasts are not showing up. I looked in C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE\ProjectTemplates\VisualBasic\Reporting but did not find any telerik templates.  The item templates, however, did install.

I tried uninstalling Q2 and installing Q1 and got the same result.

Is there a place where I can download the templates and install them manually?
Steve
Telerik team
 answered on 13 Jul 2009
1 answer
53 views
Dear Sir,

  When i made my Telerik report Q2 2008 , i am getting following error i run my report.

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

On my report there is textbox which have multiple text, when i add multiline text in textbox , a entry of textbox and value gets added in above resource file. when i run application i get above kindly help me.
Steve
Telerik team
 answered on 13 Jul 2009
4 answers
415 views
Hello,

I have created a new report using the CrossTab Wizard in the Q2 release.  It's great!  However, I'd like to now add a column to the report to display a percentage based on subtotals in the crosstab.

I've tried using the ItemDataBound event of the Detail section, Crosstab and TextBox processing elements using the examples that I've found on this website and forum:

Forum Post Percent Example
http://www.telerik.com/community/forums/reporting/telerik-reporting/use-report-footer-fields-in-group-field-calculation.aspx

Custom Aggregate Function
http://www.telerik.com/support/kb/reporting/general/implementing-and-using-custom-aggregate-functions.aspx

Combining Values from Documentation
http://www.telerik.com/help/reporting/faq-combine-values2.html

When I try to use the example fromt he documentation, the DataObject.Rawdata property is null so I can't access the DataRowView object in the detail_ItemDataBound event.  I suspect it's because of the way the crosstab control is rendered but I spent several hours yesterday playing around with different combinations in the different event handlers but haven't had much luck.

Can anyone point me in the right direction?  I can provide code examples if necessary.

Thanks in advance!
Brian

Steve
Telerik team
 answered on 10 Jul 2009
1 answer
206 views
Hello,
We are using Telrik reporting 2008 and we want to make it bilingual in French and English.
We have report classes in App_code folder and report viewer on an aspx page in the root of the directory.
We have created the resx files.Like for AllOrders.cs ,we created AllOrders.resx and AllOrders.fr-FR.resx by following telrik support and added the namespaces threading and globlization in the page containing report viewer.
We added required localization  code in the  same viewer page.
But when we run it we get always this error.

Could not find any resources appropriate for the specified culture or the neutral culture.  Make sure "AllOrders.resources" was correctly embedded or linked into assembly


Can you please guide us how make it bilinguial in our case, the steps please?
Steve
Telerik team
 answered on 10 Jul 2009
1 answer
159 views
Hi

I know, there are already a lot of article in this forum, that covers this topic.
I read a lot of them, and the documentation and watched a few videos ... i don't get this to work!
Please help.

Scenario:
MasterReport:
public partial class repRegisterConfirmMaster : Telerik.Reporting.Report  
  {  
    private int iBenutzerId = -1;  
    public int PARAMETER_BenutzerId  
    {  
      get { return iBenutzerId; }  
      set { iBenutzerId = value; }  
    }  
 
    private int iOrderId = -1;  
    public int PARAMETER_OrderId  
    {  
      get { return iOrderId; }  
      set { iOrderId = value; }  
    }  
 
    private sbyte iSpracheId = -1;  
    public sbyte PARAMETER_SpracheId  
    {  
      get { return iSpracheId; }  
      set { iSpracheId = value; }  
    }  
 
    public repRegisterConfirmMaster()  
    {  
      InitializeComponent();  
    }  
 
    public void loadReportData()  
    {  
        this.dsBenutzerKundeAdresseKontaktTableAdapter1.Fill(this.dsBenutzerKundeAdresseKontakt.dsBenutzerKundeAdresseKontaktTable, iBenutzerId);  
    } 

I have in the dataset "@BenutzerId" included in the query and this is used when filled the DataTable. Works fine.

The Subreport just looks the same:
public partial class subRegisterConfirmModul : Telerik.Reporting.Report     
  {     
    private int iOrderId = -1;     
    public int PARAMETER_OrderId     
    {     
      get { return iOrderId; }     
      set { iOrderId = value; }     
    }     
    
    private sbyte iSpracheId = -1;     
    public sbyte PARAMETER_SpracheId     
    {     
      get { return iSpracheId; }     
      set { iSpracheId = value; }     
    }     
    
    public subRegisterConfirmModul()     
    {     
      InitializeComponent();     
    }     
    
    public void loadReportData()     
    {     
      this.dsKundenModulByOrderIdTableAdapter1.Fill(this.dsKundenModulByOrderId.dsKundenModulByOrderIdTable, (byte) iSpracheId, iOrderId);  
    }    
 

Now, from an aspx-page, i call the report, set the values of the master-report and calling the loadReportData() of the master.
...
        
ReportViewer1.Report = new repRegisterConfirmMaster();  
        (ReportViewer1.Report as repRegisterConfirmMaster).PARAMETER_BenutzerId = 77;  
        (ReportViewer1.Report as repRegisterConfirmMaster).PARAMETER_OrderId = 94;  
        (ReportViewer1.Report as repRegisterConfirmMaster).PARAMETER_SpracheId = S.SpracheId;  
        (ReportViewer1.Report as repRegisterConfirmMaster).loadReportData(); 

The report shows up, but only the report-header (filled thru master) is filled with datas. The detail section (filled thru subreport) generates an error or the whole subreport is invisible.
I try these things as well:
- using NeedDataSource in master (subreport_needDataSource) and/or subreport
- ItemDataBinding in master (detail_ItemdataBinding)
- Calling SubReport.loadReportData() from within the Master.loadReportData(), with setting the appropriate values of the subreport first
- Every combination af the aboved mentioned, and a few helpless tries more
- I even recoded the whole thing, trying to work with the integrated Report.Parameters as described in the help documentation ... no luck: designing-reports-master-detail.html
- I get it once to work: I hardcoded the correct values of "iOrderId" and "iSpracheId" in the subreport. So i think passing the parameters at the right time, in the right place, the right way, then it should work.
I'm sure, there has to be a simple way to do this.

TIA
Markus
Markus
Top achievements
Rank 1
 answered on 10 Jul 2009
1 answer
279 views
Hi there,

Currently im trying on your reporting tool. I have few questions to ask.

Description:

  1.  Type of project           :  web site application
  2.  Used language           :  (C#)

3.    OS                             :  xp pro service pack 3

       Tools/product            :   Telerik reporting version 2009.2 701 (Jul 1, 2009) 

        Web Viewer version  : 3.0.9.430

 

 

 

i would to know how to call user defined function from mssql to be displayed in a report. Pls provide me an example/documentation regarding this issue. One more thing, im using automatic ui parameterized feature to filter data ( which prompt user input ), i want to use more than one parameter to filter data. When i just tried to add more parameter it failed to work but working well with one parameter. How to address this problem?    Since im working with web application, when i want run the project thru localhost, the page is empty (no data displayed) but i could preview the report. How to solve this portion.

Thank You

Your guidance is much appreciated

Regards

Pat

Steve
Telerik team
 answered on 09 Jul 2009
4 answers
1.0K+ views
Sorry if this is a silly question or if I'm using the wrong terminology. I am not so familiar with the PDF specs.

The report I am exporting to PDF is mostly white space with a little text (as are most reports, I suppose). However, I don't really want it to be "white space". Instead, I want it to be "transparent" or "empty space".

Why?

I have another PDF that we refer to as "Electronic Letterhead". We take the "Electronic Letterhead" and imprint the report "on top of" it. Similar to putting pre-printed letterhead in your printer then printing the report on it. Imagine, however, if your printer actually printed white ink all over your pretty letterhead thereby effectively hiding it. Ouch! That's what's happening when we layer the telerik report (exported to PDF) on top of our "Electronic Letterhead". Is there any way to tell the PDF export to leave the white space "transparent" instead of "white"?

FWIW, we are using ABCpdf to "merge" the two documents.
Steve
Telerik team
 answered on 09 Jul 2009
1 answer
101 views
I recently just upgraded from Telerik_Reporting_2009_1_430_trial.msi to Telerik_Reporting_2009_2_701_dev.msi. I followed all of the steps listed at (http://www.telerik.com/help/reporting/installation-upgrading-trial-to-dev.html) . I have a report called MasterReport.cs that contains various subreports. It appears now when viewing the MasterReport.cs in design time (through VS 2008) the data for the sub reports is not showing. (Header sections for the sub reports do however...)
  Whats even weirder is I view the report through a report viewer on a web page everything (including the data for the sub reports) displays fine. So one thing I noticed right away was in my class library project(the ones containing the reports)  I can no longer reference the telerik.reporting.processing namespace as I was before upgrading. In the trial version ,I believe there was a seperate .dll for this namespace whereas now it exists in the telerik.reporting.dll. (telerik.reporting.dll I have infact already referenced)
  i believe this is where the problem maybe as I have no way to reference the   telerik.reporting.processing namespace. In my masterreport.cs I also use objects from this namespace it in the NeedDataSource even to set datasource for subreports. Still not sure why it works on the web page however. So I guess my questions are 1) Is there a way to reference telerik.reporting.processing    in my class library project? 2) Could it be something else that is causing this weird behavior.
Jason
Top achievements
Rank 1
 answered on 09 Jul 2009
1 answer
131 views
If I create a report using an existing dataset I get "Object reference not set to an instance of an object." when previewing. If I create a new dataset with the report wizard everything works ok.

I'm connecting the SQL Server.
Any ideas?

Thanks!
Steve
Telerik team
 answered on 09 Jul 2009
Top users last month
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?