Articles in this section
Category / Section

How to enable hyperlink in WPF OLAP Grid?

1 min read

You can enable hyperlink in OLAP Grid by using the following code example.

C#

   public MainWindow()
        {
            try
            {
                InitializeComponent();
                this.olapgrid.OlapDataManager = new OlapDataManager(@"Data Source=http://bi.syncfusion.com/olap/msmdpump.dll; Initial Catalog=Adventure Works DW 2008 SE;");
                this.olapgrid.OlapDataManager.SetCurrentReport(SampleReport());
                this.olapgrid.ValueCellStyle.IsHyperlinkCell = true;
            }
            catch (Exception ex)
            {
                ShowExceptionMessage(ex);
            }
        }

VB

Private Function MainWindow() As Public
        Try
            InitializeComponent()
            Me.olapgrid.OlapDataManager = New OlapDataManager("Data Source=http://bi.syncfusion.com/olap/msmdpump.dll; Initial Catalog=Adventure Works DW 2008 SE;")
            Me.olapgrid.OlapDataManager.SetCurrentReport(SampleReport())
            Me.olapgrid.ValueCellStyle.IsHyperlinkCell = True
        Catch ex As Exception
            ShowExceptionMessage(ex)
        End Try
    End Function

Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments (0)
Please sign in to leave a comment
Access denied
Access denied