Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 5950971
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T17:28:12+00:00 2026-05-22T17:28:12+00:00

I have a Silverlight application that has a Telerik ReportViewer contained in it. I

  • 0

I have a Silverlight application that has a Telerik ReportViewer contained in it. I want to select a report and the parameter values in code and pass this information to the report viewer. Does anyone know how to do this? All I can find is setting the Report property to the name of the report.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-22T17:28:13+00:00Added an answer on May 22, 2026 at 5:28 pm

    If you define a handler for the ReportViewer’s RenderBegin event, you receive a RenderBeginEventArgs parameter with an empty NameValueDictionary property called ParameterValues.

    You can Add {name, value} pairs to this collection and they seem to finish up in the Parameters collection of the Report.

    For example, I have two report parameters named “InputElementID” and “ReportPeriod”. My RenderBegin handler looks something like the following:

        private void ReportViewer_RenderBegin(object sender, Telerik.ReportViewer.Silverlight.RenderBeginEventArgs args)
        {
            args.ParameterValues.Add("InputElementID", this.elementId);
            args.ParameterValues.Add("ReportPeriod", "fortnight");
        }
    

    But this will raise another issue: How do you get the report to re-render itself with new parameters in response to user interaction? For example, in my case I had a master-detail page set up, with a RadTreeListView on the left and my ReportViewer on the right. I needed to get my ReportViewer to re-compute itself every time the selected item changed.

    The ReportViewer has no methods to force a re-render. And setting its Report property does nothing, as the Report string will be the same every time if all you’re changing is the parameter.

    My hacky solution was to set the ReportServiceUri property when I wanted to force a change.

    // No change, just forces the ReportViewer to re-render itself
    this.ReportViewer.ReportServiceUri = new Uri("../ReportService.svc", UriKind.RelativeOrAbsolute);
    

    There must surely be a better way, but this should get you going.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a Silverlight RIA application that uses Forms authentication. We want to pass
I have a Silverlight application which has on it a Canvas. On that Canvas,
I have a Silverlight 4 out-of-browser application with a ScrollViewer that has several RichTextBoxes
I have a Silverlight application that will run out of the browser. I want
I have a Silverlight application that has a ListBox of a specific width. I
I have a mvvm(model view viewmodel) silverlight application that has several views that need
I have a Silverlight application that has a DataGrid and a DataPager. The data
I have a Silverlight application that has a DataGrid. I need to print the
I have a Silverlight 2 application that has a Loading Data... message that contains
I have a Silverlight application that has three regions that will host the same

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.