Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. WPF
  4. SSRS 2008 reports in Silverlight 4 apps

SSRS 2008 reports in Silverlight 4 apps

Scheduled Pinned Locked Moved WPF
questionsql-serverwinforms
6 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    arkiboys
    wrote on last edited by
    #1

    Hi, I am currently developing in windows form and can display the SSRS reports using the ReportViewer control... Question: 1- Is it possible to display the SSRS reports via silverlight 4? 2- IS it as same as using the report viewer control as I do in windows forms? Thanks

    M M 2 Replies Last reply
    0
    • A arkiboys

      Hi, I am currently developing in windows form and can display the SSRS reports using the ReportViewer control... Question: 1- Is it possible to display the SSRS reports via silverlight 4? 2- IS it as same as using the report viewer control as I do in windows forms? Thanks

      M Offline
      M Offline
      Mark Salsbery
      wrote on last edited by
      #2

      No report viewer included in Silverlight 4. Maybe some ideas in these.... Implementing SSRS in Silverlight 4[^] Silverlight Reporting Support for SSRS reports – Problem and Possible solutions[^]

      Mark Salsbery :java:

      1 Reply Last reply
      0
      • A arkiboys

        Hi, I am currently developing in windows form and can display the SSRS reports using the ReportViewer control... Question: 1- Is it possible to display the SSRS reports via silverlight 4? 2- IS it as same as using the report viewer control as I do in windows forms? Thanks

        M Offline
        M Offline
        Mycroft Holmes
        wrote on last edited by
        #3

        As Mark said there is no native report viewer in Silverlight. There is a 3rd party one available but it is expensive and only works with server based reports. As I need embedded reports (RDLC) so I spawn an ASPX page passing the parameters in the url, while this works it is not satisfactory as the values are exposed and the spawned page just feels flaky. However it does give me a reporting solution in Silverlight, there are some articles on CP that helped. Silverlight Report Viewer using View Model (MVVM)[^] Integrate Reporting Services with Silverlight and RIA Services[^]

        Never underestimate the power of human stupidity RAH

        A 2 Replies Last reply
        0
        • M Mycroft Holmes

          As Mark said there is no native report viewer in Silverlight. There is a 3rd party one available but it is expensive and only works with server based reports. As I need embedded reports (RDLC) so I spawn an ASPX page passing the parameters in the url, while this works it is not satisfactory as the values are exposed and the spawned page just feels flaky. However it does give me a reporting solution in Silverlight, there are some articles on CP that helped. Silverlight Report Viewer using View Model (MVVM)[^] Integrate Reporting Services with Silverlight and RIA Services[^]

          Never underestimate the power of human stupidity RAH

          A Offline
          A Offline
          arkiboys
          wrote on last edited by
          #4

          Do you mean I can add an .aspx page into my silverlight application and have the report viewer control inside the .aspx page and then call the .aspx from the silverlight page?

          M 1 Reply Last reply
          0
          • A arkiboys

            Do you mean I can add an .aspx page into my silverlight application and have the report viewer control inside the .aspx page and then call the .aspx from the silverlight page?

            M Offline
            M Offline
            Mycroft Holmes
            wrote on last edited by
            #5

            This lives in the VM for my reports dialog

            	private void doReport(object o)
            	{
            		string sReport = o.ToString();
            		string sURL, sCriteria = string.Empty;
            		switch (sReport)
            		{
            			case"EquipmentList":
            				sCriteria = GetCriteriaEQ();
            				break;
            			case "EquipmentFleet":
            				sCriteria = GetCriteriaEQFleet();
            				break;
            			default:
            				break;
            		}
            
            		sURL = VML.ReportsVMStatic.GetReportsAddress(sReport, sCriteria);
            		gUI.ShowWindow(sURL);
            		AppMessage.DialogCompleted.Send(AppMessage.DialogCompleted.enDialogResult.eTrue);
            	}
            

            GetCriteria returns a string with the criteria formatted specifically for a report and showwindow openns the aspx page

            HtmlPage.Window.Navigate(oURI, "_blank");

            The page_load of the aspx deals with the query string and gets the data from the database to service the RDLC. As I said ugly but works.

            Never underestimate the power of human stupidity RAH

            1 Reply Last reply
            0
            • M Mycroft Holmes

              As Mark said there is no native report viewer in Silverlight. There is a 3rd party one available but it is expensive and only works with server based reports. As I need embedded reports (RDLC) so I spawn an ASPX page passing the parameters in the url, while this works it is not satisfactory as the values are exposed and the spawned page just feels flaky. However it does give me a reporting solution in Silverlight, there are some articles on CP that helped. Silverlight Report Viewer using View Model (MVVM)[^] Integrate Reporting Services with Silverlight and RIA Services[^]

              Never underestimate the power of human stupidity RAH

              A Offline
              A Offline
              arkiboys
              wrote on last edited by
              #6

              Hi, I studied the link you sent. thanks. It seems that a new form should be added to the silverlight project which then shows the SSRS report in a popup format?

              1 Reply Last reply
              0
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • World
              • Users
              • Groups