none
programmatically position 2005 webforms.reportviewer to desired row AFTER report is generated RRS feed

  • Question

  • I'm using SSRS 2005 ... How-to programmatically position webforms.reportviewer to desired row AFTER report is generated

    In code behind, how do I position webforms.reportviewer to one desired row AFTER report is generated.

    And please don't simply answer "use Find" or "use Search" unless you provide a code sample because I've looked everywhere and can find NO SAMPLES for accomplishing this in 2005.

    AND ... these references do not apply ... or ... I cannot figure-out HOW TO USE THEM

    http://www.c-sharpcorner.com/UploadFile/mahesh/SearchReports04252007103246AM/SearchReports.aspx
    http://msdn.microsoft.com/en-us/library/ms153977%28SQL.90%29.aspx

    AND ... here's a sample of the code I'm currently using to load and call the report

    Private Sub RunReport(ByVal WhichReport As String)
    ReportViewer1.ProcessingMode = Microsoft.Reporting.WebForms.ProcessingMode.Remote
    ReportViewer1.ServerReport.ReportServerUrl = New Uri("http://??.??.??.??/reportserver")
    ReportViewer1.ServerReport.ReportPath = ""http://??.??.??.??/reportserver/BirthdayRoster"
    Dim paramlist As New Generic.List(Of ReportParameter)
    paramlist.Add(New ReportParameter("UserID", Profile.Operatorid, False))
    ReportViewer1.ServerReport.SetParameters(paramlist)
    ReportViewer1.ShowParameterPrompts = False
    ReportViewer1.ShowPromptAreaButton = False
    DisableUnwantedExportFormats(ReportViewer1)
    ReportViewer1.ServerReport.Refresh()
    End Sub
    Fred
    Tuesday, February 15, 2011 4:02 PM