Telerik Forums
Reporting Forum
1 answer
573 views
I have an aspx page with a report viewer on it that is not rendering a report. The report does render in the report designer.  When I test it in debug mode it does not stop on the  Page_Load sub as expected.  The code is short, so I've included it:


<%@ Page Language="VB" AutoEventWireup="false" CodeFile="RptViewer.aspx.vb" Inherits="RptViewer" %>

<%@ Register assembly="Telerik.ReportViewer.WebForms, Version=4.2.10.1221, Culture=neutral, PublicKeyToken=a9d7983dfcc261be" namespace="Telerik.ReportViewer.WebForms" tagprefix="telerik" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>telerik Report Viewer</title>
    <style type="text/css">           
        html#html, body#body, form#form1, div#content, center#center
        {   
            border: 0px solid black;
            padding: 0px;
            margin: 0px;
            height: 100%;
        }
    </style>
</head>
<body id="body">
    <form id="form1" runat="server">              
    <div id="content"><center id="center"><telerik:ReportViewer ID="ReportViewer1"
            runat="server"  style="border:1px solid #ccc;"
            width="99%" height="99%" Skin="WebBlue"/></center></div>
    </form>
</body>
</html>

The codebehind:

Imports System
Imports System.Web.UI
Imports Telerik.Reporting
Imports Reports

Partial Class RptViewer
    Inherits System.Web.UI.Page

    Protected Sub Page_load(ByVal sender As Object, ByVal e As EventArgs)
        If Not IsPostBack Then
            Dim rpt As New PDS
            Me.ReportViewer1.Report = rpt
        End If
    End Sub
End Class


Thank you
Ron
Ron
Top achievements
Rank 1
 answered on 10 Feb 2011
2 answers
181 views
Latest Telerik.Reporting (2010.3 1221) - the order of attributes can break reports.  This did not appear to be an issue with prior (at least .1119)

As an example, from the included samples in From CSharp.ReportExamples.vs2010 - CSharp.Silverlight.Demo: MainPage.xaml

This works (as supplied in demo)
<telerik:ReportViewer Grid.Row="1" x:Name="ReportViewer1"
   Width="1000"
   telerikControls:StyleManager.Theme="{Binding SelectedItem, ElementName=ThemeSelector}"
   ReportServiceUri="../ReportService.svc"
   Report="Telerik.Reporting.Examples.CSharp.ReportCatalog, CSharp.ReportLibrary"  />


Changing the order of  Report  and ReportSerivceUri does not work (Page will load, and will display "No Report" where the report content should be within the viewer).
<telerik:ReportViewer Grid.Row="1" x:Name="ReportViewer1"
     Width="1000"
       telerikControls:StyleManager.Theme="{Binding SelectedItem, ElementName=ThemeSelector}"
       Report="Telerik.Reporting.Examples.CSharp.ReportCatalog, CSharp.ReportLibrary"
       ReportServiceUri="../ReportService.svc" />

I tried to post this as a support ticket - but received the message "Hashtable insert failed. Load factor too high." - guess I'm two for two today.

Also note that if you are using say the ReportView.RenderBegin event, that event will not be raised in addition to the report not being rendered in the following:
<telerik:ReportViewer Grid.Row="1" x:Name="ReportViewer1"
     Width="1000"
       telerikControls:StyleManager.Theme="{Binding SelectedItem, ElementName=ThemeSelector}"
       Report="Telerik.Reporting.Examples.CSharp.ReportCatalog, CSharp.ReportLibrary"
       ReportServiceUri="../ReportService.svc"
       RenderBegin="ReportViewer1_RenderBegin" />

Karlkim Suwanmongkol
Top achievements
Rank 1
 answered on 09 Feb 2011
0 answers
189 views
How do I bind a sqlDatasource field I have to a textbox value?
Scott
Top achievements
Rank 1
 asked on 09 Feb 2011
0 answers
61 views
This is the situation :

When I put a telerik report without any DataSource (just a blank report), my Silverlight application work fine.

When I use a telerik report with a SqlDataSource or EntityDataSource (both using stored procedure) after few minutes all my DomainService (decorated with [RequiresAuthentication]) on the server side become denied (message like Load operation failded for query ....  Access to operation ... was denied).

More on the server side, lines like System.Web.HttpContext.Current.Profile.GetPropertyValue are no longer working.

But client side, WebContext.Current.User.IsAuthenticated seem still true.

Any suggestion will be very appreaciate.  I'm working on this case sine 2 weeks!!!

Louis Bouchard
Top achievements
Rank 1
 asked on 09 Feb 2011
1 answer
180 views
Hi,

We are facing one problem in telerik  reporting, we are unable to connect mysql database using mysql odbc client when we deploy application with IIS but when we run application using visual studio n with local web server it works fine, can you please guide us what can be the resolution of this problem.

Regards,
Shirjeel
Peter
Telerik team
 answered on 09 Feb 2011
0 answers
99 views
Hi, I`m newbie and I want to ask something about paging in reporting..
I have many data,, let say it is 2000 rows,,how if I paging it every 20 data..
and when I go to page 2, I send parameter to server side to process limit data like "select * from bla bla limit 10,20"
can someone hint me about it or maybe give me link for tutorial..
I`m used telerik reporting Q2..

rgrds
Mochamad
Top achievements
Rank 1
 asked on 09 Feb 2011
6 answers
899 views
Hey All,

  i am trying to use the Silverlight ReportViewer but I am getting a 'very nice' error on the compiling time: "The tag 'ReportViewer' does not exist in XML namespace 'clr-namespace:Telerik.ReportViewer.Silverlight;assembly=Telerik.ReportViewer.Silverlight'."

   I am sure that I have all the assemblies references added. I got the instructions from the TelerikTV: http://tv.telerik.com/watch/reporting/video/telerik-reporting-getting-started-with-silverlight-report-viewer
  
  Funny is that after write the code below, on the design window, I can see the ReportViewer component, but when I compile the code i am getting this error...

   My configuration:
- VS 2010 RTM.
- Project is in Silverlight 4 using .NET 3.5
-Telerik.ReportViewer.Silverlight.dll version 4.1.10.921

<UserControl x:Class="SilverlightApplication3.MainPage"
    xmlns:telerik="clr-namespace:Telerik.ReportViewer.Silverlight;assembly=Telerik.ReportViewer.Silverlight"
               
    mc:Ignorable="d"
    d:DesignHeight="300" d:DesignWidth="400">
  
    <Grid x:Name="LayoutRoot" Background="White">
        <telerik:ReportViewer x:Name="Report001"/>
    </Grid>
</UserControl>


Any Ideas?

Tks

Alex
PRAMOD
Top achievements
Rank 1
 answered on 09 Feb 2011
0 answers
43 views
  <>Hello All,
I would like to fetch data from an aspx page and populate the values to telerik report.
I have an application which has the values populated in "Gridview" in aspx page(A). The same aspx page has a button named EXPORT to Telerik, on clicking this button a line graph is being produced. I would like to recreate same function in a different aspx page.
I have added a new aspx page(B) and on a button click the values are moved from the page "A" (orginal aspx page) to the new page(B) and displayed in the new aspx(B) in Gridview. When I try to move this value to the report to populate the same in table format through wizard it says the source is empty. As I under stand from the Report cycle on the button click only the connection to the database is made and then the query is processed to fetch the value and populate. But for my application I need to fetch the data from aspx page(A) and move to a class file. If its a aspx page we can use cookies, cache or session to move data between the aspx pages, since its class file I am not able to populate to the class file to fetch the data for the report.
So It would be great if some one to sort out this issue for me. Since its a evaluation before the tool purchase. We are planing to use telerik reporting tool for our all applications those are in Aspx, silverlight and WPF.

Looking forward to see your reply.

Thakns in Advance!

Manish Goyal
Manish
Top achievements
Rank 1
 asked on 09 Feb 2011
1 answer
86 views
Dear Teleik Team,

I've got one open issue in my application that should be finished next week.
In my silverlight application i'm using ASP.NET authentication and i'm using the Webcontext.Current.User.UserID through the entiry application.
I've a report that should show the appointments for 1 employee so i would like to add this reportparameter, but i've searched the forum but can't find a solution.

How can i pass the current webcontext.userID as a parameter into the report?
Albert
Top achievements
Rank 1
 answered on 08 Feb 2011
2 answers
130 views
hi

    Is it possible to get report error exception information from the report viewer when an error occurs on the report processing?

for example I have a report that drills into another report and the second report is causing an error. So the report viewer displays the information about that error. What i want is for the report viwer to capture the error so i can handle this and refresh the report.

Thanks
David
Top achievements
Rank 2
 answered on 08 Feb 2011
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
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?