Articles in this section
Category / Section

How to add custom toolbar button in OLAP Client?

1 min read

You can add custom toolbar button in OLAP Client using the following code example.

C#

this.OlapClient1.OlapClientToolBar.Controls.Clear();
this.OlapClient1.OlapClientToolBar.Controls.Add(new Button() {Height = 20, Width = 60, Text = "text"});
this.OlapClient1.OlapClientToolBar.Controls.Add(new Button() { Height = 20, Width = 60, Text = "text" });
this.OlapClient1.OlapClientToolBar.Controls.Add(new DropDownList() { Height = 20, Width = 60, Text = "test", Items = { "test", "test1" } });

VB

Me.OlapClient1.OlapClientToolBar.Controls.Clear()
Me.OlapClient1.OlapClientToolBar.Controls.Add(New Button() With {.Height = 20, .Width = 60, .Text = "text"})
Me.OlapClient1.OlapClientToolBar.Controls.Add(New Button() With {.Height = 20, .Width = 60, .Text = "text"})
Me.OlapClient1.OlapClientToolBar.Controls.Add(New DropDownList() With {.Height = 20, .Width = 60, .Text = "test", .Items = { "test", "test1" }})

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