Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Webform ReportViewer Calendar picker problem in MasterPage - SSRS

831 views
Skip to first unread message

caveman

unread,
Feb 16, 2009, 11:31:01 AM2/16/09
to
I am currently using Framework 3.5, Visual Studio 2008, and SQL Server 2008
to develop a web-based reporting requirement. I would like to leverage the
ReportViewer webcontrol to let it handle all my parameter gathering, etc.

When I place the ReportViewer into the Content control in a MasterPage
setup, the calendar/datepicker does not work. When the calendar image/icon
is clicked, the calendar does not pop up (or is not visible).

I have seen some threads on other forums about this in SSRS 2005, and the
proposed resolution was to modify the GetObjectPosition in
ReportingServices.js file, or override in the content page.

This solution does not seem to work in SSRS 2008.

Is there a solution for this? Can I use the ReportViewer in a MasterPage
scenario?

Thanks,

Brice

Chris Burton

unread,
Aug 24, 2010, 6:18:41 PM8/24/10
to
The master page for the page that had the ReportViewer control also had some javascript to provide cross browser :hover and :focus using javscript and CSS. (See http://www.htmldog.com/articles/suckerfish/)

This javascript on the master page was making the reportviewer popup calendar not display.

I created another masterpage for pages with reportviwers without this javascript and it worked great within the masterpage/content.

I had previously tried all those other javascript fixes (z-index fix, GetObjectPosition, etc...) and I got no where (although that might work for some people).

The Answer is yes about using the ReportViewer in a Master page scenario...however to make mine work and not have a javascript error when I clicked on the "View Report" button. I had to use this code below to disable partial rendering in the code behind of the page ReportViewer control was on.

I am also using SSRS 2008


> Submitted via EggHeadCafe - Software Developer Portal of Choice
> Scrolling in WPF Toolkit?s Column Chart
> http://www.eggheadcafe.com/tutorials/aspnet/0939d60c-8e17-4a27-b898-1fc772d2d6f6/scrolling-in-wpf-toolkits-column-chart.aspx

0 new messages