I am experiencing a problem with the multi-value parameter dropdown in the ReportViewer when using FireFox, but in IE it seems to work fine. The symptom is when I click on the dropdown the list of options appears and then quickly disappears before I can select anything and I only experience the problem with multi-value parameters. I also have noticed that the dropdown is grayed out but I can still click it. Also, the position of the dropdown options are different in FireFox (pushed all the way to the left). I have created a very basic example at https://www.register4this.com/testreport.aspx to demonstrate the problem. There is no report, only the single "Orgs" parameter to keep things as simple as possible.
I suspect that I am missing something obvious because I haven't been able to find anyone else reporting this issue so any help would be appreciated. My ReportView control is configured as follows:
Code Snippet
<rsweb:ReportViewer ID="ReportViewer1" runat="server" AsyncRendering="False" Font-Names="Verdana" Font-Size="8pt" Height="400px" ProcessingMode="Remote" Width="400px">
<ServerReport ReportPath="/REG_Report/testreport" ReportServerUrl="http://reports.register4this.com/reportserver" />
</< FONT>rsweb:ReportViewer>
The report code is as follows:
Code Snippet
<?xml version="1.0" encoding="utf-8"?>
<Report xmlns="http://schemas.microsoft.com/sqlserver/reporting/2005/01/reportdefinition" xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">
<DataSources>
<DataSource Name="Members">
<DataSourceReference>Members</DataSourceReference>
<rd:DataSourceID>54f7f4de-9fe5-44e9-bcf0-467d024725cb</rd:DataSourceID>
</DataSource>
</DataSources>
<BottomMargin>1in</BottomMargin>
<RightMargin>1in</RightMargin>
<ReportParameters>
<ReportParameter Name="Organizations2">
<DataType>String</DataType>
<Prompt>Orgs:</Prompt>
<ValidValues>
<DataSetReference>
<DataSetName>Organizations</DataSetName>
<ValueField>orgID</ValueField>
<LabelField>orgName</LabelField>
</DataSetReference>
</ValidValues>
<MultiValue>true</MultiValue>
</ReportParameter>
</ReportParameters>
<rd:DrawGrid>true</rd:DrawGrid>
<InteractiveWidth>8.5in</InteractiveWidth>
<rd:SnapToGrid>true</rd:SnapToGrid>
<Body>
<Height>2in</Height>
</Body>
<rd:ReportID>504c91c0-4beb-421e-bae0-4d581303b3e2</rd:ReportID>
<LeftMargin>1in</LeftMargin>
<DataSets>
<DataSet Name="Organizations">
<Query>
<CommandType>StoredProcedure</CommandType>
<CommandText>REG_spGetOrganizations_org</CommandText>
<QueryParameters>
<QueryParameter Name="@.orgID">
<Value>=System.DBNull.Value</Value>
</QueryParameter>
</QueryParameters>
<DataSourceName>Members</DataSourceName>
</Query>
<Fields>
<Field Name="orgID">
<rd:TypeName>System.Int32</rd:TypeName>
<DataField>orgID</DataField>
</Field>
<Field Name="orgName">
<rd:TypeName>System.String</rd:TypeName>
<DataField>orgName</DataField>
</Field>
</Fields>
</DataSet>
</DataSets>
<Width>6.5in</Width>
<InteractiveHeight>11in</InteractiveHeight>
<Language>en-US</Language>
<TopMargin>1in</TopMargin>
</Report>
Any help wpuld be greatly appreciated.
Anyone have any insight on this? I'm having trouble finding others with the same problem so it must be something I'm doing.|||We are currently experiencing this same exact problem in many of our reports.
Any help on this would be great
|||I also experiance the same problem in Safari for Windows. As soon as I remove the multivalue attribute it works as expected.|||Another clue! If I navigate to the report server (~/reportserver) and view the report there it works fine. So it definatly seems to have something to do with the ReportViewer control.|||
I found the solution! You have to delete the line in the .aspx file that sets the doctype to XHTML.
|||Ok the problem has been fixed with the multi-value combo but now i seem to have a problem with navigation from one report to another. First click does not take you to the next report but the second click does and also when trying to return to the starting report i get "Execution '0qnexc55tnshwsy0afjnaw55' cannot be found" with the ID changing of course. Do you have the same problem? I have not been able to find anyone report this problem and i havnt found a workaround...Thanks for the combo problem fix!
|||
I have not experienced the issue you are describing. Did it start after you made the change I suggested or was it happening all along? I would recommend trying to run the report directly from the report server (http://domainname/reportserver) and see if it works there. If it does work then view the source and compare it to the case that does not work. That's how I figured out what was causing this last issue. Hope that helps!
sql
No comments:
Post a Comment