Print Search Rate
    
   09-20-2007, 10:13 AM
HOW TO: How can I disable the Find functionality on HTML type of WebViewer control?
Attachment: HideWebViewerToolbarItem.zip
How can I disable the Find functionality on HTML type of WebViewer control?

note: This applies only when the WebViewer's ViewerType property is set to HtmlViewer mode.

The Find button and label can be disabled in client-side script code.

Here is a sample of code:

[vbscript]

<script language="vbscript">
  document.getElementById("WebViewer1_txtFind").previousSibling.style.display="none"
document.getElementById("WebViewer1_txtFind").style.display="none"
</script>


Please be sure change the Id to match the name of your WebViewer control after it has rendered to the client browser. See the attached sample project for an example.

Applies To:
ActiveReports for .NET 1.0
ActiveReports for .NET 2.0
ActiveReports for .NET 3.0
GrapeCity » Knowledge Base » KnowledgeBase f... » HOW TO: How can I disable the Find functionality on HTML type of WebViewer control?
Privacy Policy | Copyright © 1997-2010 - GrapeCity, inc.