Telerik Forums
Reporting Forum
1 answer
344 views
Hi,

I recently formated my computer, and then I reinstalled all my environnement, including telerik libraries with the new Telerik control panel.

But now I'm trying to open Telerik report, but when I double click on it, I'm getting an error in the designer:

https://dl.dropbox.com/u/368403/Telerik/reports.png

Like Visual studio isn't installed correctly. 

Do you have informations about this?

Julien
Julien
Top achievements
Rank 1
 answered on 21 Sep 2012
0 answers
131 views
Hi I am using radcontrols for winforms Q1 2012 and telerik reproting Q2 2010. I have a problem with the language of the weekday displayed in a report.

I am listing the time a user has used each day on certain projects, However I would like it to display the weekday in the language that is on the target computer, right now I am using an english windows so the weekdays are shown in engish, if I go to a danish machine they are still viewed in english, how do I change it so that target computer decides the language?
Anders
Top achievements
Rank 1
 asked on 21 Sep 2012
1 answer
152 views
Hello,

I am trying to add a chart in the group footer.  When I do this it seems to be displaying all the data ignoring the grouping.  How can i get a chart to recognize this and only display the values within the grouping?

Thanks.
Steve
Telerik team
 answered on 21 Sep 2012
4 answers
434 views
I've added the following code to my web.config file to disable certain export types and the rendering of column headers as rows in my Excel export:

<Telerik.Reporting> 
    <Extensions> 
      <Render> 
        <Extension name="CSV">  
          <Parameters> 
            <Parameter name="NoStaticText" value="true"/>  
          </Parameters> 
        </Extension> 
        <Extension name="IMAGE" visible="false" /> 
        <Extension name="MHTML" visible="false" /> 
        <Extension name="RTF" visible="false" /> 
        <Extension name="XPS" visible="false" /> 
      </Render> 
    </Extensions> 
  </Telerik.Reporting> 

It works exactly as expected in my development environment (IIS 5.1), but when I deploy to our stagining/production (IIS 6) environment, I get the follwoing error when I load a page containing the Report Viewer.

TypeLoadException: A null or zero length string does not represent a valid Type.]  
   System.RuntimeTypeHandle.GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark) +7663440  
   System.RuntimeType.PrivateGetType(String typeName, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark) +58  
   System.Type.GetType(String typeName, Boolean throwOnError) +59  
   Telerik.Reporting.Processing.ExtensionManagerBase.CreateExtensionInfo(String typeName, String extensionName) +45  
 
[ExtensionManagerException: Error loading extension type with name .]  
   Telerik.Reporting.Processing.ExtensionManagerBase.CreateExtensionInfo(String typeName, String extensionName) +83  
   Telerik.Reporting.Processing.ExtensionManagerBase.Config(ExtensionInfoCollection extensions, ReportingConfigurationSection section) +285  
   Telerik.Reporting.Processing.ExtensionManagerBase..ctor(IEnumerable`1 extensionTypeNames, ReportingConfigurationSection section) +95  
   Telerik.Reporting.Processing.ExtensionManager.get_Instance() +96  
   Telerik.Reporting.Processing.ExtensionManager.ListExtensions(Type extensionType) +11  
   Telerik.Reporting.Processing.ReportProcessor.ListRenderingExtensions() +20  
   Telerik.Reporting.Processing.ReportProcessor.GetRenderer(String name) +36  
   Telerik.Reporting.Processing.ReportProcessor.RenderReport(String format, IReportDocument reportDocument, Hashtable deviceInfo, Hashtable renderingContext, CreateStream createStreamCallback) +206  
   Telerik.ReportViewer.WebForms.ServerReport.Render(HttpResponse response, String format, Int32 pageIndex) +462  
   Telerik.ReportViewer.WebForms.ReportPageOperation.PerformOperation(NameValueCollection urlQuery, HttpContext context) +119  
   Telerik.ReportViewer.WebForms.HttpHandler.ProcessRequest(HttpContext context) +164  
   System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +181  
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +75  
 

Does anyone know what might be causing this? If so, what's the solution?


Phil
Top achievements
Rank 1
 answered on 20 Sep 2012
1 answer
98 views
Good evening,


It is the first time we'll mecher with reporting, I would like to address some questions before starting work.


- Can I integrate it with an application. NET in visual studio with visual basic language?
- Can I create the report parameters, where I set out for its value, through an aspx page?
- Can I pass all parameters of connection / table to be used, an alert parameter in a aspx page?
- It is advisable / possible to generate payment slips through the reporting?


These questions are because I have this report in crystal reports, and now need to migrate p / a platform net, so I wonder if I can use the tool to you, or I will have to continue with crystal reports.


Already, many thanks.
IvanY
Telerik team
 answered on 20 Sep 2012
1 answer
130 views
I am getting the following error when I try to build an ASP.NET web forms application in my solution with the Telerik ReportViewer control:

The type 'Telerik.ReportViewer.WebForms.ReportViewer' exists in both 'c:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\appdevcenter\94dab5a4\8ccebc39\assembly\dl3\aa719e0f\0c7fc604_7790cd01\Telerik.ReportViewer.WebForms.DLL' and 'c:\Windows\assembly\GAC_MSIL\Telerik.ReportViewer.WebForms\6.1.12.820__a9d7983dfcc261be\Telerik.ReportViewer.WebForms.dll' C:\inetpub\wwwroot\LearningCenter\appDevCenter\Reports\TrainingHistory.aspx

How do I resolve this error?
Elian
Telerik team
 answered on 20 Sep 2012
10 answers
618 views
Hello,

I have a reports that I built in seprate class in web app.  The reports are then viewed in web report viewer that also contains date inputs and drop downs to pass parameters to filter report in a custom user control (ascx).  The report initally loads fine, but I cannot change the parameters with the drop down controls. What am I missing?

Sub LoadReport(ByVal serviceTypeID As Integer)
        Dim report As Telerik.Reporting.Report = DirectCast(Me.rvServicesSummary.Report, Telerik.Reporting.Report)
        Dim thisUser As String = Membership.GetUser(HttpContext.Current.User.Identity.Name).ProviderUserKey.ToString
        Dim agencyGuid As String = UserProfile.GetCurrentAgencyGUID.ToString
 
 
        report.ReportParameters("ServiceTypeID").Value = serviceTypeID
        report.ReportParameters("CurrentUserID").Value = thisUser
        report.ReportParameters("AgencyGUID").Value = agencyGuid
 
 
End Sub
 
Protected Sub RcbServicesSelectedIndexChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles rcbServices.SelectedIndexChanged
 
        LoadReport(CType(sender, Telerik.Web.UI.RadComboBox).SelectedValue)
End Sub
IvanY
Telerik team
 answered on 20 Sep 2012
1 answer
122 views
Hello,
It's possible to have the PageNumber/PageCount in the codebehind during the ItemDataBinding/ItemDataBound event?
Thanks
Elian
Telerik team
 answered on 20 Sep 2012
2 answers
204 views

Hello,

I'm trying to install the last version of Telerik Reporting (Telerik_Reporting_Q2_SP1_v6_1_12_820_Dev). The installation reaches a point in which no progress is made, and it stays permanently in a window that says:

 

Windows installer controller: Please wait while the application is preparing for the first use

 

 

EventID=1004

Error al detectar el componente "{6B53E30C-2E47-5F96-9AF4-8A4178C44C56}" de la característica "MainFeature" del producto "{49FAC563-2662-4316-85FC-B4CBDD434AA6}". No existe el recurso "HKEY_CURRENT_USER\Software\Telerik\Reporting Q2 2012\Components\Shortcut_ProductFolder".

 

EventID=1001

Error al detectar la característica "MainFeature" del producto "{49FAC563-2662-4316-85FC-B4CBDD434AA6}" durante la solicitud del componente "{96830E2D-FA45-4CF5-AB0A-0DC032CA009D}"

Greetings
Roberto

Blas
Top achievements
Rank 1
 answered on 20 Sep 2012
2 answers
541 views
I'm a bit confused about how to bind my report to a business object.  I've been able to get my object into the 'DataSource' property of my report, but I would think that at this point I'd have to specify the method which is responsible for populating the DataSource.  However, I'm not sure where to specify this method?  My business object is listed below, it is relatively simple and I'm currently just creating some debug objects in a method that will eventually pull from the database:

Imports System  
Imports System.Data  
Imports System.Configuration  
Imports System.Web  
Imports System.Collections  
Imports System.Collections.Generic  
Imports Triton.TCNext.EntityLayer  
 
Public Class TransactionType_BAL  
  Inherits List(Of TransactionType_BAL)  
 
  Sub New(ByVal id As Integer, ByVal name As String, ByVal description As String)  
    Me.ID = id 
    Me.Name = name 
    Me.Description = description 
  End Sub  
 
  Sub New()  
 
  End Sub  
 
  Private _id As Integer = 0 
  Public Property ID()  
    Get  
      Return _id  
    End Get  
    Set(ByVal value)  
      _id = value 
    End Set  
  End Property  
 
  Private _name As String = 0 
  Public Property Name()  
    Get  
      Return _name  
    End Get  
    Set(ByVal value)  
      _name = value 
    End Set  
  End Property  
 
  Private _description As String = 0 
  Public Property Description()  
    Get  
      Return _description  
    End Get  
    Set(ByVal value)  
      _description = value 
    End Set  
  End Property  
 
 
  Public Shared Function GetTransactionTypes() As List(Of TransactionType_BAL)  
    Dim transactionType1 As TransactionType_BAL = New TransactionType_BAL(1, "Checking Withdrawal", String.Empty)  
    Dim transactionType2 As TransactionType_BAL = New TransactionType_BAL(2, "Savings Withdrawal", String.Empty)  
    Dim transactionType3 As TransactionType_BAL = New TransactionType_BAL(3, "Credit Withdrawal", String.Empty)  
    Dim transactionTypes As List(Of TransactionType_BAL) = New List(Of TransactionType_BAL)  
    transactionTypes.Add(transactionType1)  
    transactionTypes.Add(transactionType2)  
    transactionTypes.Add(transactionType3)  
    Return transactionTypes  
  End Function  
 
  Private Shared Function GetTransactionTypeFromTransactionTypeEntity(ByVal transactionType As TransactionTypeEntity) As TransactionType_BAL  
    If transactionType Is Nothing Then  
      Return Nothing  
    Else  
      Return New TransactionType_BAL(transactionType.ID, transactionType.Name, transactionType.Description)  
    End If  
  End Function  
 
 
  Private Shared Function GetTransactionTypeListFromTransactionTypeEntityList(ByVal recordSet As List(Of TransactionTypeEntity)) As List(Of TransactionType_BAL)  
    Dim transactionTypes As List(Of TransactionType_BAL) = New List(Of TransactionType_BAL)  
    Dim record As TransactionTypeEntity  
    For Each record In recordSet  
      transactionTypes.Add(GetTransactionTypeFromTransactionTypeEntity(record))  
    Next  
    Return transactionTypes  
  End Function  
 
 
 
 
End Class  
 

My initial approach was to create a BLL, a DLL, entity objects to pass between the two, then implement stored procedures in the DB.  My thought was that I would have a method in my BLL that would populate a collection of objects then pass this collection to the report for display.  To populate the collection, the BLL would call a method in the DAL which in turn would populate an entity object (or collection of entity objects) based on the data retrieved through the utilization of stored procedures in the database.  The BLL would then convert these entity objects to business objects which could be passed to the report in a strongly-typed collection.

Does this approach seem feasible?  Is this overkill? 
Bhushan
Top achievements
Rank 1
 answered on 20 Sep 2012
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?