Telerik Forums
Reporting Forum
3 answers
164 views
Hi,
I have a solution where some data is passed in a parameter to the report and the report decides which database to retrieve it's data from based on those values. This works fine for the report's datasource as I use the NeedDataSource event to connect the report to the appropriate db at runtime. 
How do I do this for parameters which are bound to SqlDataSource's?
The queries for the parameters seem to be executed too early and I can't find a 'needdatasource' event for the sqldatasource to give the appropriate connection strings.

Thanks

Andrew
Massimiliano Bassili
Top achievements
Rank 1
 answered on 04 Jun 2010
0 answers
165 views

I'm going the Telerik Reporting learning guide. On page 55, step #9, the following query is referenced:

SELECT top 20  
Production.Product.NAME,  
Production.WorkOrder.StockedQty,  
Production.WorkOrder.ScrappedQty,  
Production.WorkOrder.OrderQty  
FROM 
Production.Product  
INNER JOIN 
Production.WorkOrder ON Production.Product.ProductID = Production.WorkOrder.ProductID  
WHERE Production.WorkOrder.ScrappedQty > 0 

However when I execute that query, I'm getting the following error:

Invalid column name 'NAME'

I think it has something to do with the fact that there's a user-defined data type by the same name in the AdventureWorks database. What's the solution?

Thanks!

Duh...
I realized that the AdventureWorks database is case sensitive, the first column in the select list should've been "Production.Product.Name"
Patrick
Top achievements
Rank 1
 asked on 03 Jun 2010
1 answer
105 views
I'm using Telerik Reporting Q1 2010 and have an issue where there are duplicate tools for paging, export and print.  I've attached a screenshot.
Steve
Telerik team
 answered on 03 Jun 2010
1 answer
116 views
Hi,

I have installed the new telerik report Q1 2010 .
In the help files im missing part of the: "embedding the report viewer" in an silverlight application. what should be in the svc file, and what to put in the config file?
I have used version q3 2009, is there a change in embedding between the versions?
can i get a more detailed help on how to  "embedding the report viewer" in an silverlight application.

Thanks
Steve
Telerik team
 answered on 03 Jun 2010
7 answers
258 views
I've built a web app that incorporates the web report viewer.  The page containing the viewer has the following doctype 

<!

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

This results in the border of the report viewer rendering incorrectly.  it's simple enough to check just create apage with the report viewer included and add and remove the doctype to see the effect.

The only doctype that I've found that works is 

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">

or to use no doctype. 

either of these solutions results in the vertical scrollbar space being reserved even though it is not required.

Any ideas?
 

Steve
Telerik team
 answered on 03 Jun 2010
1 answer
143 views
I can't figure out how to set the cursor for the reportviewer in winform so that the user can select text (to copy). The default cursor does not allow text selecting and only allows zooming.
Steve
Telerik team
 answered on 03 Jun 2010
1 answer
502 views
hello how can i set report viewer height  and width to grow until parent element dimensions?

i have set the ReportViewer height  and width to 100% but this is only working on IE.

i have also this css that i have saw in a oldest forum thread.

 html#html, body#body, form#form1, div#content, center#center
        {
            border: 0px solid black;
            padding: 0px;
            margin: 0px;
            height: 100%;
            min-height:100%;
            min-width:100%;
        }

But unfortanly this is not working on Chrome or Firefox

Marco Teodoro
Steve
Telerik team
 answered on 03 Jun 2010
0 answers
107 views
Hi. We wont to use telerik reports with silverlight, and It’s looks like we must to use WCF Services. Problem is this, that we couldn’t use IIS, but need to use Tomcat. And we encountering problem with hosting WCF on Tomcat. So, i have question, how to overcome this problem?
May be someone knows how to host it at tomcat / without ISS?
Or how to use some other simple service, not WCF?
Yura
Top achievements
Rank 1
 asked on 03 Jun 2010
3 answers
222 views


Hi ,

           How can I print Telerik  Report  using  C#.net  in asp.net

Eg:  
        // Report Viewer Object
        Telerik.ReportViewer.WebForms.ReportViewer objRV = new Telerik.ReportViewer.WebForms.ReportViewer();
       // Report object
        FeeCollectionIndvidualDetailsReport objrpt = new FeeCollectionIndvidualDetailsReport();

        objRV.Report = objrpt;
        objRV.RefreshReport();
  
         objRV.PrintReport();   // Function didn't find

      Thanks & Regards
      Praveen


         

  


Steve
Telerik team
 answered on 02 Jun 2010
9 answers
512 views
Dear All,
I have two problems with telerik reporting, could anyone give me some helps?
  1.How to hide the row(s) in a table(each rows have more than 1 columns)
  2.How to custom the export method for exporting the data to Excel/PDF file.


best wishes.
Peter
Telerik team
 answered on 02 Jun 2010
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
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?