Telerik Forums
Reporting Forum
1 answer
183 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
369 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
135 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
190 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
244 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
107 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
133 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
1 answer
167 views
I have 10 fields in the dataset which drives my report. 

On-screen I display fields 1-8 and 10.  I need to export fields 1-9 to a CSV file.

Is that possible?


Steve
Telerik team
 answered on 28 Jan 2010
4 answers
1.5K+ views
Hi,

I have a simple reporting requirement that must have been solved many times but I'm not able to find any information from the forum postings.  Any suggestions would be appreciated; requirement as follows:

1.  A simple report with only detail section, e.g. member #, name, and dues paid:

        1234     John Alan              2008    $100.00
        1234     John Alan              2009    $100.00
        1763     Peter Brown           2009      $80.00
        2286     Jane Jones            2008   $100.00
        2286     Jane Jones            2009    $100.00

2.  What I would like to do is to suppress the member # and name values that are repeats from the previous rows:
    
        1234     John Alan             2008    $100.00
                                                2009    $100.00
        1763     Peter Brown          2009     $80.00
        2286     Jane Jones           2008   $100.00
                                                2009    $100.00

I'm not able to figure out how to compare the values from the current row with values from the previous rows in code.  Can anyone help?

Thanks,

Barry
Steve
Telerik team
 answered on 28 Jan 2010
4 answers
204 views
Hello Everyone,

I am getting below error while calling User defined function in Telerik Report.
I didn't find anything wrong with this code.

"The error has occured while processing TextBox 'textBox1':
This expression contains undefined function call DateLeft().


Please See below code

this

 

.textBox1.Value = "= DateLeft(Fields.DateReleased,EndofMonths(Fields.Month))";

DataType of Fields.DateReleased is System.DateTime
DateType of Fields.Month is System.Int32.  

 

 

 

 

Public static string DateLeft(DateTime ReleasedDate, DateTime EndofMonth)  

{

  string strReturn = "";  

  if ((ReleasedDate == null || ReleasedDate == DateTime.MinValue) ||  (EndofMonth !=  null && EndofMonth != DateTime.MinValue && ReleasedDate > EndofMonth.AddDays(1)))  

         strReturn = "IN JAIL";    

else  

       strReturn = ReleasedDate.ToString("MM/dd/yyyy hh:mm");     

return strReturn;  

 }

EndofMonth is another User defined function that passes as argument of above user defined function 

public static DateTime EndofMonths(int parMonth)  

 { 

   if (parMonth == 12)  

        return new DateTime(DateTime.Now.Year, 1, 1);   

else   

        return new DateTime(DateTime.Now.Year, parMonth + 1, 1); 

}  

 



I don't know but this error occurs only when Report first time open after user logged in application. After user second time open this report then this error don't occurs,
please review above code and give me reply what is the problem in above code.
I am waiting your reply. Please give me reply as soon as possible.

Thanks in advance.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Steve
Telerik team
 answered on 27 Jan 2010
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?