Telerik Forums
Reporting Forum
4 answers
314 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
84 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
105 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
559 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
100 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
170 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
480 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
4 answers
88 views
Hello,
We are having issues with the Sales Dashboard demo for Telerik Reporting available here: http://demos.telerik.com/reporting/sales-dashboard/demo.aspx - namely, the report itself will not scroll on our iPad 2's. Any attempts to scroll just move the page instead of scrolling the report.
Is this a known issue? Are there any suggested workarounds?
Steve
Telerik team
 answered on 20 Sep 2012
0 answers
92 views
Hi

When I have already opened a file, and I'm trying to save a report with the same name, I get the following message:
The process cannot access the file 'C:\1.pdf' because it is being used by another process.

How do I change this message to others, or may I call my popup?

Silverlight, Q2 2012 build 6.1.12.621
Hans
Top achievements
Rank 1
 asked on 20 Sep 2012
15 answers
391 views
Hi,

Everytime after i open visual studio and open any design (even if it's an xaml file), the toolbox items for telerik are added... by now each icon appears already 4 times.

It's extremely enoying because it hangs visual studio during the time that the icons are added.

In att. you'll find proof.

I'm using Q1 2011, Visual Studio 2010, Win7 Pro 64 bit
Kevin Finck
Top achievements
Rank 1
 answered on 19 Sep 2012
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?