Telerik Forums
Reporting Forum
1 answer
133 views
Hi! I set up a link in the main report where I have my list of say customers and next to each customer i have a View Report link, now I tried to make that point to a report book (no designer, just the report.cs) where i am programmatically adding some reports to it.So the action of the link does not like passing to it a report book...It's saying the instance can not be created. It works it i set the Navigate To a regular report, but I would like a way to just navigate to the report book.  How do i do this?  Thankx for the help.
ethan
Top achievements
Rank 1
 answered on 29 Jan 2011
2 answers
135 views
I have Windows 7 64 bit. I have already installed Telerik Reporting Q2 2010. Now I want to install Telerik_Reporting_Q3_2010_SP1_TRIAL.msi.
It is throwing an error as "Need .Net 2.0 or Higher". It is exiting the installer. I have attached the screen shots.

Thanks,
Deba

Debajyoti
Top achievements
Rank 1
 answered on 28 Jan 2011
1 answer
100 views

Hi,
My silverlight app works fine on my dev machine, but after deploying on IIS7 I have error at report viewer.
Exception details:
System.NullReferenceException: Object reference not set to an instance of an object.
   at Telerik.ReportViewer.Silverlight.ReportViewerModel.UpdateUI()
   at Telerik.ReportViewer.Silverlight.ReportViewerModel.set_PageRoot(FrameworkElement value)
   at Telerik.ReportViewer.Silverlight.ReportViewerModel.SetError(String message)
   at Telerik.ReportViewer.Silverlight.ReportViewerModel.SetError(Exception ex)
   at Telerik.ReportViewer.Silverlight.ReportViewerModel.OnListRenderingExtensionsCompleted(Object sender, ListRenderingExtensionsEventArgs e)
   at Telerik.Reporting.Service.SilverlightClient.ReportServiceClient.OnListRenderingExtensionsCompleted(Object state)

The bin folder contains the following assemblies:

  • Telerik.Reporting.dll
  • Telerik.Reporting.Service.dll
  • Telerik.Reporting.XamlRendering.dll

Could somebody help me?

Steve
Telerik team
 answered on 28 Jan 2011
0 answers
96 views
Hi,

I am facing some issue with the sqldatasource it works with 64 bit SqlLite driver but with a 32 bit sqlLite driver it gives cannot create connection to the database error.. Is there any solution or workaround to this problem... any help would be appreciated..

Regards,
Rohan Henry


 
rohan
Top achievements
Rank 1
 asked on 28 Jan 2011
1 answer
88 views
I am using dotnetnuke to show my report but I don't know why I am getting this exception.



This is my telerik report project code and I have added this reference in my website.

Partial Public Class jobReport
    Inherits Telerik.Reporting.Report
    Public Sub New()
        InitializeComponent()
        Me.datasource = Nothing
    End Sub


    Private Sub jobReport_NeedDataSource(ByVal sender As Object, ByVal e As System.EventArgs)
        ' Take the Telerik.Reporting.Processing.Report instance
        Dim report As Telerik.Reporting.Processing.Report = DirectCast(sender, Telerik.Reporting.Processing.Report)


        ' Transfer the processing Parameter value to the parameter of the select command         
        Me.SqlDataAdapter1.SelectCommand.Parameters("@p_JobID").Value = report.Parameters("ID").Value


        ' and set the adapter as it's DataSource         
        report.DataSource = Me.SqlDataAdapter1
    End Sub


End Class This is my website code and i am adding one parameter here and passing a value from query string.  Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load


        If Not IsPostBack Then


            Dim nJobID As Integer
            nJobID = Request.QueryString("JobID")
            If nJobID <> 0 Then
                Dim rptJobList As New jobReport
                Dim reportParameter1 As New Telerik.Reporting.ReportParameter()
                reportParameter1.Name = "ID"
                reportParameter1.Text = "Enter Value for Parameter1"
                reportParameter1.Type = Telerik.Reporting.ReportParameterType.Integer
                reportParameter1.AllowBlank = False
                reportParameter1.AllowNull = False
                reportParameter1.Value = nJobID
                reportParameter1.Visible = True
                rptJobList.ReportParameters.Add(reportParameter1)
                rptJobList.ReportParameters("ID").Value = nJobID
                reportViewer.Report = rptJobList
            End If


        End If
    End Sub An error occurred loading a configuration file: Failed to map the path '/'.   at System.Configuration.ConfigurationSchemaErrors.ThrowIfErrors(Boolean ignoreLocal)
   at System.Configuration.BaseConfigurationRecord.ThrowIfParseErrors(ConfigurationSchemaErrors schemaErrors)
   at System.Configuration.Configuration..ctor(String locationSubPath, Type typeConfigHost, Object[] hostInitConfigurationParams)
   at System.Configuration.Internal.InternalConfigConfigurationFactory.System.Configuration.Internal.IInternalConfigConfigurationFactory.Create(Type typeConfigHost, Object[] hostInitConfigurationParams)
   at System.Web.Configuration.WebConfigurationHost.OpenConfiguration(WebLevel webLevel, ConfigurationFileMap fileMap, VirtualPath path, String site, String locationSubPath, String server, String userName, String password, IntPtr tokenHandle)
   at System.Web.Configuration.WebConfigurationManager.OpenWebConfiguration(String path)
   at Telerik.ReportViewer.WebForms.ReportViewer.CheckHandlerConfiguration()
   at Telerik.ReportViewer.WebForms.ReportViewer.CheckHttpHandlerRegistrations()
   at Telerik.ReportViewer.WebForms.ReportViewer.OnInit(EventArgs e)
   at System.Web.UI.Control.InitRecursive(Control namingContainer)
   at System.Web.UI.Control.InitRecursive(Control namingContainer)
   at System.Web.UI.Control.InitRecursive(Control namingContainer)
   at System.Web.UI.Control.InitRecursive(Control namingContainer)
   at System.Web.UI.Control.AddedControl(Control control, Int32 index)
   at System.Web.UI.ControlCollection.Add(Control child)
   at phdcc.CodeModule.View.Page_Load(Object sender, EventArgs e) in C:\inetpub\wwwroot\DNN\DesktopModules\phdcc.CodeModule\View.ascx.vb:line 92
Peter
Telerik team
 answered on 28 Jan 2011
6 answers
160 views
Hello,
I've got a report that contains 5 subreport...sometimes I get a object not set to an istance of an object excetpion in a subreport when generating the report using

       res = reportProcessor.RenderReport("PDF", report, null);

checking for res.Error returns me string.Empty always... I've debugged and if I put the Error event handler in the nested report I got the exception.... since I generate the report in parallel (almost 18.000 reports) I need to know which report failed in order to regenerate it later....

Is there a way of generating the report and the subreport in an sync way? I think that the report generate in an async way calling the subreport's report for increasing performance but in my case I can wait and have it to be generated slower but safer...

Thanks
Steve
Telerik team
 answered on 28 Jan 2011
2 answers
71 views
I started a trial and I am creating a report using a static class that its on the same report for data retrieval purpose by means of example here is the code of the static class

using System;
 
namespace ExampleReport
{
    public static class bringData
    {
        public static string data1 { get; set; }
        public static string data2 { get; set; }
        public static string data3 { get; set; }
        public static string data4 { get; set; }
   public static string data5 { getset; }
    }
}

and the report class includes this custom methods that retrieves information from the bringData Class

public static string test1() { return bringData.data1; }
public static string test2() { return bringData.data2; }
public static string test3()  {   return bringData.data3;    }
public static string test4()    {   return bringData.data4; }
public static string test5()    {   return bringData.data5; }

then on 5 diferent telerik textboxes on the report header section using the expression context menu I select custom function and Bind each custom function to each textbox i.e   = data1()

but if I use more than 3 custom functions/functions I get a blank report, and if I use 3 or less custom functions/functions i get the expected behaivor of bringing the contents of the source class

is this a known bug issue?? suggestions?
Steve
Telerik team
 answered on 28 Jan 2011
5 answers
159 views
Hi
My data contain some spaces in fields . Actually i want to show rows with indentation. For example i have created a parent account and its child accounts. i want to show childs to be indented right by adding spaces in it so that it is clear for user to increase readability of report. data is ok in query result but when i try to view it in report all rows are left aligned omitting spaces which i have added in row data.
How can i get this? I want report shows data like this
Assets
Current Assets
Bank Accounts
UBL
Cash Accounts
Other Assets
Liability
Short Term
Saima Gul
Top achievements
Rank 1
 answered on 28 Jan 2011
2 answers
73 views
After upgrading to new version Q32010 I have created a new report by using sqlDataSource having simple query
Select AccountType,AccountType,AccountTitle,GroupAccNo From AccTable
And create group on accountType

Returns error

An error has occurred while processing Report 'tlkFines':
Method not found: 'Int32 System.String.Compare(System.String, System.String, System.Globalization.CultureInfo, System.Globalization.CompareOptions)'.

It seems that new version has some bug as we created group it returns error
you can see attach file of report design and error on Preview tab

Plz correct the bug so that we can continue with new version
Saima Gul
Top achievements
Rank 1
 answered on 28 Jan 2011
1 answer
69 views
Hi All,

I get following parse error when I try to set the theme for a Telerik Silverlight Report Viewer to Office Blue. (Using Silverlight 4.0). Have attached a screenshot as well.

The type 'ResizerAlignmentToHorizontalAlignmentConverter' was not found
 
Any ideas? My best bet is inconsistent assembly versions but I did recheck and everything seems to be latest!
   
Peter
Telerik team
 answered on 27 Jan 2011
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?