This is a migrated thread and some comments may be shown as answers.

How to Pass an arugument to a RepotClass library in silverlight application

1 Answer 34 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Reena
Top achievements
Rank 1
Reena asked on 28 Jan 2011, 06:56 AM
I have created a report by using the WCF service as per the vedio http://tv.telerik.com/watch/reporting/video/telerik-reporting-getting-started-with-silverlight-report-viewer

My WCF Service requires an arugument to be passed to get the result..
______________________________________________________________________________________________
For example
  Dim m_nPatientId As Integer = 109
 'For Patient History
    Public Function GetPatientDetials() As List(Of DAOfficeReports.EMRRepotsServiceReference.PatientL)
        Dim objPatientDtl As New List(Of EMRRepotsServiceReference.PatientL)
        objPatientDtl = objEmrService.GetPatientDetials(m_nPatientId)  *Here i should pass patient id from Silverlight)
        Return objPatientDtl 'For Patient History 
    End Function
_____________________________________________________________________________________________________
Iam able to pass a static argument but could'nt pass it from silverlight application dynamically to Report class library..

Pls help me...


Reena

1 Answer, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 01 Feb 2011, 03:55 PM
Hello Reena,

How to pass parameter values dynamically from Silverlight Application to reports in a Class Library is elaborated in the Programmatic Initialization of Report Parameter Values in Telerik Reporting Silverlight Viewer KB article.

Give it a try and if you need additional assistance on the topic.

All the best,
Peter
the Telerik team
Get started with Telerik Reporting with numerous videos and detailed documentation.
Tags
General Discussions
Asked by
Reena
Top achievements
Rank 1
Answers by
Peter
Telerik team
Share this question
or