Telerik Forums
Reporting Forum
14 answers
815 views
Telerik Reporting 2012 Q3 internal build 1025
Visual Studio 2012
Silverlight 5 with RIA/Entity Framework
Solution has 4 projects:  Web Project, Silverlight Project, Data Project (where model is located), and Reporting Project

I was able to create a report that works just fine with the Entity Framework using both a table and a stored procedure with no parameters.  However as soon as I add on with just one parameter it fails when trying to compile the project/solution:

Invalid Resx file. Type  could not be read from the data in line 145, position 5.  The type's internal structure may have changed.  Either implement ISerializable on the type or provide a type converter that can provide a more reliable conversion format, such as text or an array of bytes.  The conversion exception was: The constructor to deserialize an object of type 'System.RuntimeType' was not found.

I am creating a brand new report and using the wizard.  Here the the steps:

  • New Report
  • Add New Data Source
  • Entity Data Source
  • Choose an existing connection (same connection that works in my reports without SP's with parameters)
  • Choose an object context (same as above)
  • I then get a list of all of my tables in the model as well as all of the procedures.  I choose a test procedure with one integer parameter
  • In the Configure Data Source Parameters I have tried several different options. For now I am choosing a hard coded value of 1.
  • For design time parameters I am also giving it a 1.
  • Clicking finish takes me to the screen to choose data sources but now I have the one I created selected and I can see the 4 output fields.  I choose next.
  • Standard Report
  • Choose at least one field for the detail section
  • Stepped Layout
  • Normal Style Sheets and then Finish
  • I am taken to the report designer where I can see my fields.
  • As soon as I click the preview tab the solution tries to build and gives the error.

I have tried changing the hard coded value to a parameter and used the following code:

this.NeedDataSource += MyReport_NeedDataSource;
 
        private void MyReport_NeedDataSource(object sender, System.EventArgs e)
        {
            Telerik.Reporting.Processing.Report report = (Telerik.Reporting.Processing.Report)sender;
            this.entityDataSource1.Parameters["@accountID"].Value = report.Parameters["accountID"].Value;
            report.DataSource = this.entityDataSource1;
        }

But it doesn't seem to matter, I still get the same error.  Any ideas?

-Randy
HDC
Top achievements
Rank 1
 answered on 25 Feb 2013
1 answer
86 views
Just install q1 2013 because it looks as though the silverlightclient class will do what I want.
http://www.telerik.com/help/reporting/n_telerik_reporting_service_silverlightclient.html

I included references to telerik.reporting, telerik.reporting.service, telerik.reportviewer.silverlight, I don't see a telerik.reporting.service.silverlight dll and the class doesn't seem to exist in the referenced dll's. What am I missing?

using Telerik.Reporting;
using Telerik.Reporting.Service;
using Telerik.ReportViewer.Silverlight;
???
Joe
Top achievements
Rank 1
 answered on 24 Feb 2013
5 answers
120 views
Hi team,
1-I want to have a rad ajax combobox and date picker in my aspx screen as input parameters for my report, how can I do that ? 
2- kindly let me know if I can have link buttons inside the report itself so when the user click on that link button he will go to another report in details. 
Regards,
Mohammed
Mohammed
Top achievements
Rank 2
 answered on 23 Feb 2013
2 answers
90 views
Dear team,
Now I already created a report using the stand alone designer.
i want to import it to my library project in visual studio so i can do some update on it and can use it in different applications.
how can I do that or if there another way to do it.
Regards,
Mohammed
Mohammed
Top achievements
Rank 2
 answered on 23 Feb 2013
2 answers
284 views
I updated the Telerik Reporting yesterday and now I cannot open reports in designer.

The error was
Object of type "Telerik.Reporting.Drawing.Unit" cannot be converted to type "Telerik.Reporting.Drawing.Unit"

UPDATE: Now I'm getting the same resx issue for "Telerik.Reporting.ObjectDataSourceParameterCollection"

I create a new blank Telerik report to compare against an old blank report we have and I tracked it down to the following item in the Resource File.

OLD - Stops designer from working
<assembly alias="Telerik.Reporting" name="Telerik.Reporting, Version=6.2.13.110, Culture=neutral, PublicKeyToken=a9d7983dfcc261be" />
  <data name="$this.SnapGridSize" type="Telerik.Reporting.Drawing.Unit, Telerik.Reporting">
    <value>0.1in</value>
  </data>

Version From Latest Update
<metadata name="$this.SnapGridSize" type="Telerik.Reporting.Drawing.Unit, Telerik.Reporting, Version=7.0.13.220, Culture=neutral, PublicKeyToken=a9d7983dfcc261be">
  <value>0.1in</value>
</metadata>


Isn't the designer suppose to recognize this and auto convert the resx file for me.
All of our reports no longer work and I'll have to update everyone by hand.
I know this is just a designer used property, but are there any other changes that will break reports in production because it can no longer read the old resource file.

I've only been using the Telerik Reporting tools for the past 3 months and I like them allot, but there always seems to be a hick-up when an update comes out. I guess I'm going to have to put my IDE in a VM so that I can roll these back.


Were do we post bugs..  The public issue tracker only has "Suggest New" which I assume is for feature requests.  I'll also post under "My Account - Support Ticks"
Steven
Top achievements
Rank 1
 answered on 22 Feb 2013
2 answers
724 views
I just installed 7.0.13.220, but due to the  differences I need to rollback to the previous version.

Do I need to Uninstall and Re-install.

Can I specify what version to install through the Telerik Control Panel?
If not where can I download older versions.


Thanks


UPDATE: - Please disregard, I found it under my "Account => Manage Products" section.
Will remove from Control Panel and Manually Install
Steven
Top achievements
Rank 1
 answered on 22 Feb 2013
0 answers
108 views
I have a report that contains many charts.  In most cases it uses the same data but they are just grouped differetnly.  Currently each chart has a differnt sqlDataSource.  As you can figure this means it is slow to load.  Is there a way I could return a generic dataset and then do the grouping, summing, and detemine percentage for each grid, that way I can make one or maybe two calls to the database and have the front end do all the work.  Also is it correct to assume that this will be faster?
Eric Klein
Top achievements
Rank 1
 asked on 22 Feb 2013
1 answer
178 views
I have an HtmlTextBox within the bottom Rows of my table and everything in its parent hierarchy has "KeepTogether=False".

If the Html Content is bigger then one page it is causing a PageBreak before and after it rather then running together with the content above and below it.

DetailSection.KeepTogether = False (PageBreak.None)
Table.KeepTogether = False
HtmlTextBox.KeepTogether = False



Is there any other settings I should check?


Thanks
Hadib Ahmabi
Top achievements
Rank 1
 answered on 22 Feb 2013
1 answer
97 views
Hello team!
    I have a CrossTab that fetches data via SQLDataSource that is calling a Stored Procedure that has parameters.  How do I pass some of the Report Parameters to the Stored Procedure.

Thanks!
Elian
Telerik team
 answered on 22 Feb 2013
5 answers
211 views
I am trying to find a difference between 2 values in the corss tab total by using iff and sum since there is no diff or subtract function. How do i do it. Not looking to do in code but in the designer itself using an expression.
Peter
Telerik team
 answered on 21 Feb 2013
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
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?