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 wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Is there a way to hide the refresh button from end users on the web?

Status
Not open for further replies.

Hawk45

Programmer
May 29, 2002
32
US
I have and application that I do not want end users to have access to the refresh button on the CR??? Otherwise our server will be getting slammed with end users refreshing every 5 seconds.

Thanks,

John
 
I believe the Viewer control has a property called EnableRefreshButton which you set. I usually set via HTML or ASP. You may be able to set this as default or via the URL.
 
If you are using ASP:

<OBJECT ID=&quot;CRViewer&quot;>
<PARAM NAME=&quot;DisplayGroupTree&quot; VALUE=1>
<PARAM NAME=&quot;DisplayGroupTree&quot; VALUE=0>

<PARAM NAME=&quot;EnableRefreshButton&quot; VALUE=0>

<PARAM NAME=&quot;EnableDrillDown&quot; VALUE=1>
<PARAM NAME=&quot;EnableGroupTree&quot; VALUE=1>
<PARAM NAME=&quot;EnablePrintButton&quot; VALUE=1>
<PARAM NAME=&quot;EnableExportButton&quot; VALUE=1>
<PARAM NAME=&quot;EnableSearchControl&quot; VALUE=1>
<PARAM NAME=&quot;EnableAnimationControl&quot; VALUE=1>
<PARAM NAME=&quot;EnableZoomControl&quot; VALUE=1>
</OBJECT>
 
Any chance somebody could post me some asp that will simply display an already created report. I'm unable to find any documentation on this at all. thanks.
 
Thanks for that lightning response. I've spent ages on the crystal decisions web site trying to find such a thing. Im using CR 8.5 I tried the 'Begin Here' asp this worked fine using the default report but when I change the reportname to my simple report 'test.rpt' the page loads but the actual report section is blank, as if I have nothing on my report. (all test.rpt does is substitute a couple of months from the currdate) thanks.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top