Telerik Forums
Reporting Forum
3 answers
114 views
Hi,
I'm using WebForm ReportViewer in Telerik Reporting version 2.9.9.202. I have a problem with SkinPath property because it sees relative url incorrectly when website is hosted right on a web application (without under virtual path). In that case, the path was resolved incorrectly so it causes all images on viewer to be broken (disappear).
I use below simple markup ReportViewer on ascx user control (put on a page named ViewReport.aspx)

<telerik:ReportViewer ID="rptView" runat="server" Skin="ReportViewer" SkinsPath="~/Teleriks/Images" ... /> 


In above code, I set a relative url in SkinsPath property in order the image folder's path is always resolved correctly wherever this user control would be put. And the issue comes up when I deploy the web site to IIS. There are two cases:

1. When my website is hosted under a virtual path of a web application (e.x: http://localhost/TelerikApp/ViewReport.aspx, TelerikApp here is a virtual path on web application, not a folder in website), the images show up fine on report viewer (image's url is /TelerikApp/Teleriks/Images/[name].gif).
2. When the website is hosted right on a web application without virtual path (e.x: http://localhost/ViewReport.aspx), images disappear on report viewer because it was resovled incorrectly. I used Firebug to debug and saw the image's url is "//Teleriks/Images/[name].gif".

Does ReportViewer cause that behaviour (resolving the relative url in SkinPath property) or it's default ASP.NET processing ? If it's Telerik, could you help me find a solution (because i'm going to put ReportViewer markup in skin file so the path should be consistent) ?
Duy
Top achievements
Rank 1
 answered on 21 May 2009
2 answers
138 views
Hi,

I'm using WebForm ReportViewer in Reporting version 2.9.9.202. Because I set the height of report rather large so when I'm waiting for ReportViewer running, it shows defined progress text but in middle of viewer. The thing is user can't see that text if they don't scroll down to middle of page.

I would like to ask whether ReportViewer supports set position for progress text to top, middle or bottom in viewer ? I went around report viewer webform but couldn't find any help
Duy
Top achievements
Rank 1
 answered on 20 May 2009
1 answer
414 views
I am currently running a report that takes several minutes to complete.  We have a blind user working with this application and I need to notify him when the report rendering has completed.  There is a RenderingBegin event, but is there any kind of RenderingComplete event or equivalent?  I plan to use this event to trigger a message box to notify the user when the report rendering has completed.

Thank you
Steve
Telerik team
 answered on 20 May 2009
1 answer
249 views
RptScope = ReportScopeProvider.GetNewObjectScope();   
using (RptScope)    
{  
InspectionReport result = (from ir in RptScope.Extent<InspectionReport>() select ir).First();   
this.DataSource = result;   
  }  
 
 
I am new to telerik reporting. I am using Business Object Datasource.. 
Here is the code...

 

But I get an Exception:'The 'IObjectScope' is already closed' when I preview the report design or when I run it.
But if I debug thru it , I do see the data being returned. ie. If I step through each line of code posted above , then the report shows the data else I get the exception.

Am I missing something ?

 

 

 

 

 

 

 

 

Steve
Telerik team
 answered on 20 May 2009
1 answer
157 views
I have a report that in the detail section, I have a subreport.  That subreport could have 1 row or 50.  After 15 rows, I would like the next 15 row to appear on another page, etc., etc.. 

Also, I have another subreport that I need to appear just on the first page. I currently have it on the master report in a group footer.  I could put this anywhere as long as it only appears on the first page.

I have tried this many, many different ways.

Here's an example of what the report would look like.  

http://lovingtheiphone.com/COOPCONTRACT4-13-9-4521_xls.jpg

The subreport detail section is where I need it restricted to 15 per page.

Please advise.
Steve
Telerik team
 answered on 20 May 2009
5 answers
145 views
Dear community,

for what ever reason it seems to be impossible to change the PlotArea color or to show major gridlines. I want my PlotArea plain white and major gridlines in grey. That's why I used the following code to achieve that:

 

_gideonChart.PlotArea.Appearance.FillStyle.MainColor = Color.White;  
_gideonChart.PlotArea.Appearance.FillStyle.SecondColor = Color.White;  
 
_gideonChart.PlotArea.YAxis.Appearance.MajorGridLines.Color = Color.Gray;  
_gideonChart.PlotArea.YAxis.Appearance.MajorGridLines.Width = 1;  
_gideonChart.PlotArea.YAxis.Appearance.MajorGridLines.PenStyle = DashStyle.Solid; 

 

 

Unfortunately the above code has no effect. Am I using the wrong properties? What are the right once then?
What else might prevent the changes from showing up?

Help would be highly appreciated.
Thanks in advance and kind regards,

Gerald

 

 

Steve
Telerik team
 answered on 19 May 2009
1 answer
566 views
I am displaying report in report viewer and i want lilke to pass parameters to change the title of the header text fields dynamically/programmatically.
Is it possible to change the header text fields titles. If so, how to pass parameters.

Moreover, i have one question. I created a report and attach a dataset with the report, i can able to display the data in report viewer.

Is it possible to change the dataset dynamically.

Example:

By default select command = "select pno,pname,salary from product"
i want to change "select pno,salary,pname from product"

Thanks.

Regards
Syed Arshad
Steve
Telerik team
 answered on 19 May 2009
1 answer
157 views
Hello  I asked this question before but did not get any answer.I am stuck with this problem ,can you help me please ?
Can you  give me at least a clue to solve this problem ,I need help please

The problem

I have web site project and I wanted to test how I can use a class library in my project.
I created an aspx page in my website project and drag reportviewer user control of telerik reporting component.Then I references  telerik reporting sample projects DLL  (report library ) which comes with telerik installation .When I compile and run the page I saw a blank html page . on the top there is standard pager,zoom ,export tool bar but below there is no report content.When I  try the expot pdf or excel option of this toolbar ,I can see sample report  as a pdf or xls file.That means something prevent me to view html version of the report from my project.When I open sample web applciation projects in VB or C# ,I can run examples and see reports in reportview as HTML page.But in my project as i said when I add refernces and test I can not see the report as HTML .
I am pretty sure that I am binding reportviewer to correct report.AS I tried assigning both programatically and declaritively (from properties menu of reprotviewer user control).
In the light of above things ,what can be in my website project that prevent me to see  html report  ?
Thanks a lot
Steve
Telerik team
 answered on 19 May 2009
2 answers
88 views
Hello community,

I have a report with a line chart on it. The chart shouldn't display any item labels. I tried different solutions but it turned out, that I have absolutely no idea how to do this. How can I accomplish this programmatically?

Help would be highly appreciated.

Thanks in advance and kind regards,

Gerald

Gerald
Top achievements
Rank 1
 answered on 19 May 2009
1 answer
177 views
Hello
I have asp.net web site project (not web applciation project ) and  under App_Code part of my project folder  I have nearly 100  business classes.I want to design telerik reports  with this website  . I want to use my website project business classes with telerik reports .
I created a telerik report class inside website project  and try to view this report with reportviewer user control but it is not visibile ?
Can you please expand a bit how I can create  and view  telerik reports inside web site project (  I do not want to add refernces of external report library,becouse i need to use already created bsuiness  logic inside website project )
Thanks a lot
Regards

Steve
Telerik team
 answered on 18 May 2009
Top users last month
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
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?