Telerik Forums
Reporting Forum
1 answer
211 views
I'm trying to put report in report viewer from MMV pattern but doesn't work.

in xaml

    <Wpf:ReportViewer Name="ReportViewer1"  Report="{Binding Reporting}"  Grid.Row="0" Grid.Column="0" Grid.ColumnSpan="2" Grid.RowSpan="2" Background="Transparent"></Wpf:ReportViewer>

and in view model:

 AttendanceSheetReport Reporting
        {
            get { return _reporting; }
            set
            {
                if(value!= _reporting)
                {
                    _reporting = value;
                    InvokePropertyChanged("Reporting");
                }
            }
        }

If I create report from code behind like that:

AttendanceSheetReport rep = new AttendanceSheetReport();
....
this.ReportViewer1.Report = rep;

I've no problema, but if I try to bind the response is No Report. can You help me?






Rodro
Top achievements
Rank 2
 answered on 24 May 2010
3 answers
815 views
I'm trying to add a Report using the Properties popup dialogue of a ReportViewer.  After I have drilled down to my selected report, and try to select it, I get a Visual Studio error alert

"Exception has been thrown by the target of an invocation"

Funny thing is that it was all working fine yesterday night :S

Can anyone shed any light as to the possible reasons why this might be happening?

Thanks

David
Jonathan Ulfeng
Top achievements
Rank 2
 answered on 22 May 2010
1 answer
135 views
Hello, is it a simple way to auto-size a report chart according to the amount of data source?
Steve
Telerik team
 answered on 21 May 2010
1 answer
76 views
Hello i use latest telerikcontrols (515) and reporting (423) for SL3.
When i set printrowheaderoneverypage in report to true it show's the header only on first page.
please can you check this ... thank you ...
Steve
Telerik team
 answered on 21 May 2010
8 answers
801 views
I'm trying to set a Report Parameter to the current date minus 7 days. I created a user function:

public static DateTime GetPreviousWeek()
{  return DateTime.Now.AddDays(-7);   }

In the ReportParameter Collection Editor, I created a new member, WeeklyDate. Its type is DateTime. The Value is =GetPreviousWeek()

When I try to Preview, I get "The expression contains undefined function call GetPreviousWeek()."  What am I missing?

ETA: I do build the project before I add the user function to the field. I'm selecting it out of the list when I get the error.
Steve
Telerik team
 answered on 21 May 2010
3 answers
355 views
Hi,

How can i mark the data item value point with a cross or circle in the line chart.


Thanks in advance.
Steve
Telerik team
 answered on 21 May 2010
3 answers
81 views

Dear Sir/Madam,

I Want to ask you about independent report maker ability in your future plan,is this feature in your next version or not?
Now by using Reporting component within the code are possible and can't change all in one file an independent report that we will change.
Please if possible among the plans is the approximate time the company offering it announced in future versions.

You are kindly appriciated to consider my request.
Sincerely yours,
Motallebi.

Steve
Telerik team
 answered on 21 May 2010
1 answer
192 views
Hi,
My report uses HNibernate to in the process of building the datasource, at design time, when I click on preview, I get an error saying it "cannot load file or assembly NHibernate ..... The system could not find the file specified"
Can anyone tell me me where it is looking for the NHiberante assemblies? or if I can tell it to look somewhere else?

Thanks

Andrew
Steve
Telerik team
 answered on 20 May 2010
1 answer
163 views
is there a way to limit the export options to "PDF" olnly in code behind?
the reason why i dont want to do it in web.config is because I need different export options in different reports
Peter
Telerik team
 answered on 20 May 2010
1 answer
76 views
I hope I can explain this so that it is understandable.

I have a report call it report1 that includes 16 subreports.  When creating the subreports I did not use the report wizard but manually added the SQLDatadapter to the report setting up the connection that was needed.  I did this with each of the reports, each of which is based on a stored procedure.  Report1 ran fine and gave us the results needed.  I then turned these over to someone to migrate to production.

The approach taken was to manually set the SQLconnection value in each of the reports to a web.config connection.string value.  The result was fine.  There was one issue with one of the reports that needed correcting.  Using the production ready files I opened REPORT1 file and received an 'object not set' error for each of the subreports.  the line referenced what the line getting the connection string value.  I changed each report bacl to a 'hard coded' connection string value and was able to visualize the report again.  Note that each individual report could be opened in design mode but the file containing the subreports would not open without errors.

Is there some way around this design time issue?
Steve
Telerik team
 answered on 20 May 2010
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?