Telerik Forums
Reporting Forum
3 answers
140 views
I need to load a textbox with data based on the contents of another texbox.   I want to load the unbound textbox txtRiders based on the value of the bound textbox txtOptionID.  Here's what I tried:

 

 

    Private Sub txtOptionID_ItemDataBound(ByVal sender As Object, ByVal e As System.EventArgs) Handles txtOptionID.ItemDataBound
       
    Dim txtOpt As Telerik.Reporting.Processing.TextBox = DirectCast(sender, Telerik.Reporting.Processing.TextBox)

         If txtOpt.Value.ToString ="1"
             txtRiders.Value = "New Item 1"
         End If

    End Sub


Your help is, as always, appreciated.

 

Bob Bruce
Top achievements
Rank 1
 answered on 29 Jan 2010
1 answer
148 views
Hi, I have downloaded the latest Reporting Telerik Reporting 2009 to try it out in my company on an existing asp.net solution. 

I attach the report to my datasource through odbc and generate a report.  Looks fine in the designer and preview. It pages to the next page in the preview fine.  When I run the solution and open the report in IE 8 or Firefox 3.6 the first page of the report is fine but when I hit the next arrow it brings up the "Report is unavailable or session has expired.".  

The browser accept all cookies
I am using session variables all over the place.

I have looked through the forums and upped the session to 9999 (nothing) .  Tried various things with the session state (nothing).  Not sure where to go from here.

Thanks
Steve
Telerik team
 answered on 29 Jan 2010
1 answer
346 views
I have a master report that has no datasource.  It simply contains 2 subreports.  I want to set the datasource for my subreports programatically from my web application.  I need to do this because the datasources are web services which I'm converting to datasets. The code I have below is running but no data is shown on the report.  When I debug and step through the code the subreports have the correct datasets as their datasouces.  Any ideas on what I'm doing wrong?  Do I need to do something to the main report before running it?

        // get a reference to the master report
        Telerik.Reporting.Report rptMain = new my_report();

        // get a reference to the subreports
        Telerik.Reporting.SubReport rptSub1 = (Telerik.Reporting.SubReport)rptMain.Items.Find("subReport1", true)[0];
        Telerik.Reporting.SubReport rptSub2= (Telerik.Reporting.SubReport)rptMain.Items.Find("subReport2", true)[0];

        // get the datasets for the subreports by converting xml from web service calls into datasets
        DataSet ds1 = GetDataSetForSubReport1();
        DataSet ds2 = GetDataSetForSubReport2();

        // set the subreport datasources
        rptSub1.ReportSource.DataSource = ds1;
        rptSub2.ReportSource.DataSource = ds2;
 
        // open the report as a pdf file
        ReportProcessor reportProcessor = new ReportProcessor();
        RenderingResult result = reportProcessor.RenderReport("PDF", rptMain, null);
        ...




 

Steve
Telerik team
 answered on 29 Jan 2010
1 answer
129 views
Hi, Telerik,

My application opens a radwindow which has a reportviewer that displays a report. I just want to close the radwindow once the user press ESC key.
I have done this with a radwindow once a control has the focus inside, but now I have no control to set the focus inside the reportviewer to obtain this.
Is there a way to set the focus to any control of the ReportViewer with Javascript, for example: the navigation buttons, the exporting dropdownlist or the Export, Refresh or Print buttons in the toolbar of the ReportViewer?

Please, help me with this.

thanks a lot,
Daniel.
dany7487
Top achievements
Rank 1
 answered on 28 Jan 2010
5 answers
320 views
hai!

How to create telerik reporing using xml data.....can anyone help me?...... 

thanks,
N.Devi
David Copp
Top achievements
Rank 1
 answered on 28 Jan 2010
1 answer
92 views
Hello,

Similar to the Page.IsPostBack property for ASP.NET, is there a way to distinguish between the initial load of a report verses subsequent clicks of the report preview click, within the report definition code behind?

Thanks.
Steve
Telerik team
 answered on 28 Jan 2010
1 answer
139 views

I am converting some Crystal Reports to telerik reporting.  We use XML that is stored in a database as the datasource and already use the readxml method to load a dataset.  That works fine.  I am using the following code to instantiate the report viewer, I got this from the samples included with the trial download.  It works and I get the report on screen.  My problem is that I don't find a 'DataSource' property suggested in option 2 of a previous thread on any of the objects below in which to assign my dataset.  I'm sure that I'm missing something simple, but have looked for several hours and haven't found it.  Can you help?

Dim reportName As String = Server.UrlDecode(sReportName.ToString)   
 
If Not String.IsNullOrEmpty(reportName) Then   
 
    Dim reportType As TypeType = Type.[GetType](reportName)   
    Dim report As IReportDocument = DirectCast(Activator.CreateInstance(reportType), IReportDocument)   
 
    Me.ReportViewer1.Report = report   
 
    Me.Page.Title = "Reports - " + ReportTitle.ToString   
   
End If  
 
 

 


 

Steve
Telerik team
 answered on 28 Jan 2010
1 answer
211 views
Hi,

I have a problem while exporting report in Excel format, it shows all the data correctly but page footer is missing in exported excel sheet. Would you please guide me if there is any setting needed for this?

Thanks,
Dev Motiramani 
Steve
Telerik team
 answered on 28 Jan 2010
0 answers
88 views
Hi

I want to show some dynamic values in telerik report,So i need to add Columns corresponding to the each value at runtime,
Please help me to create dynamic columns in telerik report.
Jini A B
Top achievements
Rank 1
 asked on 28 Jan 2010
0 answers
111 views
Hi

I want to show some dynamic values in telerik report,So i need to add Columns corresponding to the each value at runtime,
Please help me to create dynamic columns in telerik report.
Jini A B
Top achievements
Rank 1
 asked on 28 Jan 2010
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?