Last post Dec 06, 2017 04:23 PM by d tech for fixing things
Dec 17, 2007 03:38 PM|mhariri|LINK
I have a reportviewer on a page which is grabbing a report from a report server. the page is basically just a dropdownlist and a reportviewer control. The problem I have is that in the report the user have to provide the dates for teh report. The reportviewer
automatically adds the textbox for the date entry and a calendar icon in front of it so the user can select the date. if I look at this page in FireFox, when you click on the calendar button created by the reportviewer, the calendar control show up
momentrily and dispappears. If you look at the same page in IE 7.0 nothing happens other than the page appears to be submitted. Does any body have any ideas on how to go about troubleshooting this bug?
Apr 23, 2009 01:37 PM|korssane|LINK
i am facing the same proble like you..
Did you find any solution for your problem.?
Apr 23, 2009 07:22 PM|mhariri|LINK
Apr 23, 2009 10:40 PM|korssane|LINK
thanks for the reply.
I already did. The report works fine with calendar button using Reporting Service.
But as soon as i use reportviewer in ASP webpage, the calendar button does not work in IE and in Firefox it shows momentarily and disapears..is it whar you were experiencing ?
Do you have any other suggestions ?
Thanks for the help
Aug 24, 2010 04:55 PM|burtino|LINK
Here is what I've found so far with using a Microsoft ReportViewer inside master page content:
protected void Page_Init(object sender, EventArgs e)
ScriptManager sm = ScriptManager.GetCurrent(this);
if (sm != null)
sm.EnablePartialRendering = false;
Here is the page with people venting similar frustrations and a bunch of suggested fixes that might work in your case. I have not found anything yet to fix my problem I don't feel I should have to use third party date pickers and prototype.js to fix this:
I'll try and post an update when I find my solution here
I thought the calendar problem had to do with using the report viewer in a master/content page but I created a brand new page that doesn't use a masterpage and I'm having the exact same calendar picker issue. You click on it....it pops-up for a breif fraction
of a second and then dissapears immediately.
Update + my fix:
My ReportViewer now works fine with my master/content pages.
ReportViewer Calendar button masterpage
Aug 24, 2010 06:07 PM|burtino|LINK
The script I removed used the
Unfortunately I don't have time to dig into it right now and find the exact cause in the code but I will try and revisit this later if I can and post an update.
Dec 06, 2017 04:23 PM|d tech for fixing things|LINK
For me this was resolved by disabling X-Content-Type-Options: nosniff custom header in the web.config.
<add name="X-Frame-Options" value="SAMEORIGIN" />
<add name="X-Content-Type-Options" value="nosniff" />
THIS BREAKS SSRS REPORTS, causes clickable controls to immediately reload page
<add name="X-XSS-Protection" value="1; mode=block" />