Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to disable the refresh button of CRViewer? 1

Status
Not open for further replies.

Finisher

Programmer
Jan 10, 2002
23
PH
Is there a way i can disable the refresh button of the CRViewer? without using the asp page that was recommended before?

Im opening a viewer or calling the report just simply using the promptex.

Please advise, i dont like to use an asp page for controlling the CRViewer.

thanks in advance!
 
If you agree to get your reports from web browser (it is not ASP :eek:) ), then call your reports by query string; for example report directory>/reportname.rpt?EnableRefreshButton=0.your parameter values etc.

If there is a problem let me know. Salih Sipahi
Software Engineer.
City of Istanbul Turkey
openyourmind77@yahoo.com
 
thanks for the reply but still won't work that way... what i tried was working is that i used PromptOnRefresh=0 in my url... but what will be the behaviour is the user still can refresh the data. id like to disable this refresh button from the CRVIEWER... :(
 
Just read the help on switches for the active-x viewer. You can disable everything you want by using parameter-values or by creating your own viewer-page.

---
It's never too late to do the Right thing
 
but i don't like to use asp to create my own viewer page i just want to use a parameter that would actually disable any buttons i like. i have tried to search on the WEB REPORTING ADMINISTRATORS GUIDE but seems on the PromptOnRefresh was working for me to pass thru the URL... like
what id like to do is to disable buttons on the CRVIEWER...
 
How about change the report viewer in case you are using CSP?You can disable the refresh button at c:\program files\Seagate Software\Web Content\Viewer\en\toolbra.html,
please correct me if I remembered wrong.

Bean
 
How about changing the option the Crystal
Management Console Server options Web Component Server
 
You can also disable the refresh button globally in the management console under the web component server properties
 
I need to refresh data each time I call crystal report. But why I can't do it. Some thing like Response.Redirect("rpt159x.rpt?promptex-p42=wtso")
 
If you want to have refreshed data everytime you run the report instead of cached data. Simply just pass the current date/time to the report through a parameter.

If you want to disble the button through the URL just use:

PrompOnRefresh=0


Hope this helps
Jayday97
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top