PDA

Click to See Complete Forum and Search --> : ReportViewer Control and NULL parameter values


figa
Oct 22nd, 2007, 04:33 AM
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)

figa
Oct 23rd, 2007, 03:21 AM
http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=1798486&SiteID=1


Can anyone move this to the ASP.NET forums?

mabbas110
Nov 6th, 2007, 04:33 AM
You need to call referesh function every time before calling report.

figa
Nov 6th, 2007, 05:08 AM
I did just that, didnt resolve the problem