Telerik Forums
Reporting Forum
5 answers
133 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
532 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
143 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
80 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
170 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
1 answer
108 views

Hi

I configure the report with no DataSource and the following NeedDataSource event:

 

private void AnalisiSconfinamenti_NeedDataSource(object sender, EventArgs e)  
        {  
            WSClass ws = new WSClass();  
            List<Analisi> elenco = null;  
            elenco = ws.analisi(9, new DateTime(2008, 5, 20), new DateTime(2009, 5, 20));  
 
            (sender as Telerik.Reporting.Processing.Report).DataSource = elenco;  
              
        } 

 

 


The method ws.analisi is the following

 

public List<Analisi> analisi(int id_cliente, DateTime fromData, DateTime toData)  
        {  
            UnicaDataContext db = new UnicaDataContext();  
            //linq query to db  
            var elencoFC = from e in db.Analisis ............  
 
            return elencoFC.toList();  
        } 


When I preview the report I have the follow error:

Object reference not set to an instance of an object.


Where is the problem?

Thanks
Lorenzo

Steve
Telerik team
 answered on 18 May 2009
1 answer
65 views
Hi,

I have put a thread before about new to Telerik Reporting.

I have seen mostly videos, documentation and online tutorials with windows.  I meant to say i want to view my reports in web browser with report viewer control. I don't know how to use "report viewer".

Please tell me that suitable videos, documentation and online tutorials to create and view in report viewer in order to view in browser. 

Moreover, i have Telerik Reporting Q3 2008.

Thanks.

Regards
Syed

 
Steve
Telerik team
 answered on 18 May 2009
1 answer
51 views
Hi,

I'm fairly new to telerik reporting and here is what I have encountered.

I have a few class projects which have some dataobjects. I created a report and using the wizard, I wanted to create the datasource from business object. I saw the list of business objects and which I select them, i get the error, "An exception has been thrown by the target of an invocation". My class are defined as follows.

DataObject()_
Public Class Quote()

    <DataObjectMethod(DataObjectMethodType.Select)> _
Public Function GetQuote(QuoteID) .............
etc...
End Function

End Class

Another small bug is that, when I use the report viewer, these characters appear in the report (at the end) "</" (without quotes).

Thank you.

Sathish
Steve
Telerik team
 answered on 18 May 2009
1 answer
201 views
I need to create a report, in which i need to display some rtf text.
It is possible?
Thanks
Steve
Telerik team
 answered on 18 May 2009
4 answers
417 views

Hi,

 I'm new using controls and finds them very useful for implement web applications . 
 Recently, I have made  a sample web application that use ReportViewer to display a web report.
In Vs2008 every thing is ok and this report display correctly. But when access this report from browser, the report does not work.
i use form authentication and  insert httphandler's declaration in both web.config sections:system.web , system.webServer
i have two folder in the sample site  : root folder and admin folder with distinct special roles ( Role a for root folder and role b for admin folder )  . Every user should authenticate until can access to resources. Users that can access to Root folder, can use report without any problem, but users which have Role b and access to admin folder, can't run Report.
Does   access to Telerik.ReportViewer.axd from admin folder have security challenge? 
I want to develop some reports for User that have Role a and some reports for user that have role b, any advice?
I search the entire Reporting Forum, with no luck.   May be missing something? 
Please help me for solve this problem.
Thank you  for taking the time to read this post .

 

 

 

Sakha
Top achievements
Rank 1
 answered on 16 May 2009
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?