Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

ReportViewer1.ShowExportControls = true;

Posted on 2010-09-03
4
Medium Priority
?
1,287 Views
Last Modified: 2012-08-14
Hi experts, i'm using the report viewer of reporting services with the option ReportViewer1.ShowExportControls = true;
My question is whether it is possible to show the microsoft word as single format of export?
reportVIEWER.jpg
0
Comment
Question by:enrique_aeo
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
4 Comments
 
LVL 21

Expert Comment

by:Jason Yousef, MS
ID: 33601584
There is no way to turn them off per report with the built in UI.  You can mark them as hidden in the report server config file or remove particular rendering extensions entirely, but these are both site wide settings.

I know you're using the ReportViewer control, you can hide the built-in export drop down and implement your own that lists only the extensions you want by calling Render on the ServerReport object directly.
example:
http://MYSERVER/ReportServer?MyReport&rs:Command=Render&rs:Format=WORD 
0
 

Author Comment

by:enrique_aeo
ID: 33606736
I implement your code, but does not work, view attached
 Url = Url + "&codigoActividad=" + document.getElementById("<%= hdCodCurso.ClientID %>").value;
 Url = Url + "&rs:Command=Render&rs:Format=WORD";
 alert(Url);
confirmWin = window.open("vistaPrevia.aspx" + Url, 'anycontent', 'width=800,height=600,status');

alert-URL.jpg
0
 
LVL 21

Expert Comment

by:Jason Yousef, MS
ID: 33620057
Hi,
Do you have the report on the root of the 'reportserver' or inside a folder?
0
 
LVL 21

Accepted Solution

by:
Jason Yousef, MS earned 1000 total points
ID: 33620081
Try Word not WORD !!
Something wrong with your URL

try this

http://MYSERVER/ReportServer/Pages/ReportViewer.aspx?%2fFOLDER%2fREPORTNAME&rs:Command=Render&rs:Format=Word
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Written by Valentino Vranken. A while ago I wrote an article called Chart Optimization Tips (http://www.experts-exchange.com/articles/Microsoft/Development/MS-SQL-Server/MS-SQL_Reporting/Chart-Optimization-Tips.html).  This article explained how …
Have you ever had to extract data from a Microsoft SQL Server database and export it to an Excel file, but did not want to use a DTS package? The concept in this article is not new, but it is the answer and will also work on 64-bit SQL boxes.   …
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …
In response to a need for security and privacy, and to continue fostering an environment members can turn to for support, solutions, and education, Experts Exchange has created anonymous question capabilities. This new feature is available to our Pr…
Suggested Courses

670 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question