Share via


CrystalReportViewer.ToolbarImagesFolderUrl Property

Gets or sets the URL path to images that are used for the toolbar.

Namespace CrystalDecisions.Web Assembly CrystalDecisions.Web (CrystalDecisions.Web.dll)

Syntax

'Declaration

Public Property ToolbarImagesFolderUrl As String
public string ToolbarImagesFolderUrl {get; set;}

Example

This example shows how to set the toolbar options for a CrystalReportViewer control.

'Declaration

    Private Sub SetToolbarOptions(ByVal myToolbarImagesFolderUrl As String)
        CrystalReportViewer.ToolbarImagesFolderUrl = myToolbarImagesFolderUrl
        Dim myToolbarStyle As CrystalDecisions.Shared.ToolbarStyle = New CrystalDecisions.Shared.ToolbarStyle
        myToolbarStyle.BackColor = Color.White
        myToolbarStyle.BorderStyle = Web.UI.WebControls.BorderStyle.Solid
        CrystalReportViewer.ToolbarStyle = myToolbarStyle
    End Sub
    private void SetToolbarOptions(String toolbarImagesFolderUrl)
    {
        crystalReportViewer.ToolbarImagesFolderUrl = toolbarImagesFolderUrl;
        CrystalDecisions.Shared.ToolbarStyle toolbarStyle = new CrystalDecisions.Shared.ToolbarStyle();
        toolbarStyle.BackColor = Color.White;
        toolbarStyle.BorderStyle = System.Web.UI.WebControls.BorderStyle.Solid;
        crystalReportViewer.ToolbarStyle = toolbarStyle;
    }

Version Information

Crystal Reports Basic for Visual Studio 2008

Supported since: Crystal Reports for Visual Studio 2005

See Also

Reference

CrystalReportViewer Class
CrystalReportViewer Members
CrystalDecisions.Web Namespace