Results 1 to 4 of 4

Thread: ReportViewer Control and NULL parameter values

Hybrid View

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Mar 2006
    Location
    Netherlands
    Posts
    198

    Exclamation ReportViewer Control and NULL parameter values

    Hi all,

    I use the ReportViewer control on one of my pages, im almost done customizing it, but Im having the following problem:

    parameter1 = NULL
    load report, no problems here.

    parameter1 = "hello world"
    load report, no problems here.

    parameter1 = NULL
    the report shows "hello world" again.

    Does anyone know how to clear the parameters or a way to fix this?
    The standard parameter pane of the ReportViewer works fine, but i dont like that layout so i made my own parameter pane, but i need this to work.

    (Visual Studio 2005, SQL2005 reports)
    Last edited by figa; Oct 22nd, 2007 at 07:54 AM.

  2. #2

    Thread Starter
    Addicted Member
    Join Date
    Mar 2006
    Location
    Netherlands
    Posts
    198

    Re: ReportViewer Control and NULL parameter values

    http://forums.microsoft.com/MSDN/Sho...98486&SiteID=1


    Can anyone move this to the ASP.NET forums?

  3. #3
    Addicted Member mabbas110's Avatar
    Join Date
    Oct 2005
    Location
    Karachi , Pakistan
    Posts
    172

    Re: ReportViewer Control and NULL parameter values

    You need to call referesh function every time before calling report.
    Thanks and Regards,

    Muhammad Abbas

  4. #4

    Thread Starter
    Addicted Member
    Join Date
    Mar 2006
    Location
    Netherlands
    Posts
    198

    Re: ReportViewer Control and NULL parameter values

    I did just that, didnt resolve the problem

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width