Showing posts with label empty. Show all posts
Showing posts with label empty. Show all posts

Monday, March 26, 2012

report viewer not behaving as expected

Greetings,
i'm using ms ReportViewer which was provided. heres the deal, in my report
parameters if i leave "prompt" empty and unchecked "allow null value" and
click in preview, i do not see the parameters being shown at the header.
WHICH IS WHAT I WANT. GOOD. but then, if i were to use the report viewer in
the web enviroment, and having set Parameters=true OR false makes not
difference... with true it still shows the parameter as textbox and if i set
it to false, my other parameter will not be visiable. so i NEED to set it to
TRUE.
can someone please advice me?
thanks.
Asha.You need to go to the properties tab of the report in ReportManager. Click
the parameters sub tab. For the parameter you want hidden, make sure
'Prompt User' is checked and that there is no prompt string.
--
-Daniel
This posting is provided "AS IS" with no warranties, and confers no rights.
"Asha" <Asha@.discussions.microsoft.com> wrote in message
news:A957E9D1-DE64-4158-A4B2-1651AF467E87@.microsoft.com...
> Greetings,
> i'm using ms ReportViewer which was provided. heres the deal, in my report
> parameters if i leave "prompt" empty and unchecked "allow null value" and
> click in preview, i do not see the parameters being shown at the header.
> WHICH IS WHAT I WANT. GOOD. but then, if i were to use the report viewer
in
> the web enviroment, and having set Parameters=true OR false makes not
> difference... with true it still shows the parameter as textbox and if i
set
> it to false, my other parameter will not be visiable. so i NEED to set it
to
> TRUE.
> can someone please advice me?
> thanks.
> Asha.sql

Friday, March 23, 2012

Report Viewer control Javascript error with empty report

I'm having an issue with the reportviewer control for vs2005. I've tried both local and remote reports and it's the same for both... but here's the issue. I have a group of parameters that are passed from the page into the report to filter out the data, simple. Problem is if the parameters cause no data to be returned, then i get a javascript error 'Object required' on line 13 char 692 of page Reserverd.ReportViewerWebControl.axd

I've looked in google to see if there has been anyone else with this issue and haven't found anything. I've checked IIS to make sure that the file manager for axd does not have the check box 'check if exists'. Any help would be greatly appreciated

TIA

Jeff Dupont

HI, Jeff:

I suggest that you can set the default value of the parameter:

http://msdn.microsoft.com/msdnmag/issues/06/06/datapoints/default.aspx

I hope the above information will be helpful. If you have any issues or concerns, please let me know. It's my pleasure to be

of assistance