Tutorial videos for Dashboards.WIN
Tutorial videos for Dashboards.WIN
We uploaded the tutorial videos for Dashboards.WIN. Please find them on YouTube at https://youtu.be/D_V8Q2m_94Y
The Playlist Contains video tutorials how to:
1. Create WinForms, .NET, ASP.NET Webform, ASP.NET MVC, and .NET Core dashboards.
2. Add Tables, Pivot Tables, Charts, Indicators, Maps (Regional Map and Online Map), Gauges, Progresses, Text, Images, Shapes, ListBoxes, Comboboxes, Date Pickers, TreeView, TreeViewBoxes on Dashboard.
3. Setup data filtering, transformation, and sorting.
4. Use Interaction of Dashboard Items.
5. Create Simple Dashboards, Dashboards with Item Groups, Social, Sales, and Stats Dashboards.
The Playlist Contains video tutorials how to:
1. Create WinForms, .NET, ASP.NET Webform, ASP.NET MVC, and .NET Core dashboards.
2. Add Tables, Pivot Tables, Charts, Indicators, Maps (Regional Map and Online Map), Gauges, Progresses, Text, Images, Shapes, ListBoxes, Comboboxes, Date Pickers, TreeView, TreeViewBoxes on Dashboard.
3. Setup data filtering, transformation, and sorting.
4. Use Interaction of Dashboard Items.
5. Create Simple Dashboards, Dashboards with Item Groups, Social, Sales, and Stats Dashboards.
-
- Posts: 52
- Joined: Wed May 17, 2017 10:14 pm
Re: Tutorial videos for Dashboards.WIN
Do you have any documentation for using vb.net winforms with the dashboards api? I am trying to use a function and I don't understand how to declare some of the parameters. The function is StiFunctions.AddFunction. There are 9 parameters. The last 3 I can't define.
This is the C# version
private void AddCustomFunction()
{
StiFunctions.AddFunction(
"My Category", "MySum", "description",
typeof(MyClass),
typeof(decimal),
"Calculates a sum of the specified set of values.",
new[] { typeof(object) },
new[] { "values" },
new[] { "A set of values" }).UseFullPath = false;
}
This is the VB.NET version
Private Sub AddCustomFunction()
StiFunctions.AddFunction(
"My Category",
"MySum",
"description",
GetType([MyClass]),
GetType(Decimal),
"Calculates a sum of the specified set of values.",
New () {GetType(Object)},
New () {"values"},
New () {"A set of values"}).UseFullPath = False
End Sub
This is the C# version
private void AddCustomFunction()
{
StiFunctions.AddFunction(
"My Category", "MySum", "description",
typeof(MyClass),
typeof(decimal),
"Calculates a sum of the specified set of values.",
new[] { typeof(object) },
new[] { "values" },
new[] { "A set of values" }).UseFullPath = false;
}
This is the VB.NET version
Private Sub AddCustomFunction()
StiFunctions.AddFunction(
"My Category",
"MySum",
"description",
GetType([MyClass]),
GetType(Decimal),
"Calculates a sum of the specified set of values.",
New () {GetType(Object)},
New () {"values"},
New () {"A set of values"}).UseFullPath = False
End Sub
-
- Posts: 6265
- Joined: Tue Mar 20, 2018 5:34 am
-
- Posts: 52
- Joined: Wed May 17, 2017 10:14 pm
Re: Tutorial videos for Dashboards.WIN
I converted the code to VB.net for the samples on github. I am trying to disable or not show the edit button or the open button in the viewer. I am running the 'Show Dashboard in the Viewer'. Here is the code (in bold) I added that I hoped would remove all the buttons and disable anything the user would have control over in the viewer. Unfortunately it does not work. What am I doing wrong???
Private Sub buttonPanel_Click(sender As Object, e As EventArgs)
If panelViewer.Controls.Count = 0 Then
ViewerControl = New StiDashboardViewerControl()
ViewerControl.Dock = DockStyle.Fill
panelViewer.Controls.Add(ViewerControl)
End If
ViewerControl.Report = GetTemplate()
ViewerControl.Report.PreviewSettings = 0
ViewerControl.Show()
End Sub
Private Sub buttonPanel_Click(sender As Object, e As EventArgs)
If panelViewer.Controls.Count = 0 Then
ViewerControl = New StiDashboardViewerControl()
ViewerControl.Dock = DockStyle.Fill
panelViewer.Controls.Add(ViewerControl)
End If
ViewerControl.Report = GetTemplate()
ViewerControl.Report.PreviewSettings = 0
ViewerControl.Show()
End Sub
-
- Posts: 52
- Joined: Wed May 17, 2017 10:14 pm
Re: Tutorial videos for Dashboards.WIN
Here is the same c# code. It doesn't work there either.
private void buttonPanel_Click(object sender, EventArgs e)
{
if (panelViewer.Controls.Count == 0)
{
ViewerControl = new StiDashboardViewerControl();
ViewerControl.Dock = DockStyle.Fill;
panelViewer.Controls.Add(ViewerControl);
}
ViewerControl.Report = GetTemplate();
ViewerControl.Report.PreviewSettings = 0;
ViewerControl.Show();
}
private void buttonPanel_Click(object sender, EventArgs e)
{
if (panelViewer.Controls.Count == 0)
{
ViewerControl = new StiDashboardViewerControl();
ViewerControl.Dock = DockStyle.Fill;
panelViewer.Controls.Add(ViewerControl);
}
ViewerControl.Report = GetTemplate();
ViewerControl.Report.PreviewSettings = 0;
ViewerControl.Show();
}
-
- Posts: 6265
- Joined: Tue Mar 20, 2018 5:34 am
Re: Tutorial videos for Dashboards.WIN
Hello,
Please check the following code:
Thank you.
Please check the following code:
Code: Select all
var report = StiReport.CreateNewDashboard();
report.DashboardViewerSettings = StiDashboardViewerSettings.None;
-
- Posts: 52
- Joined: Wed May 17, 2017 10:14 pm
Re: Tutorial videos for Dashboards.WIN
Thank you!
Re: Tutorial videos for Dashboards.WIN
You are welcome!
Re: Tutorial videos for Dashboards.WIN
Hi Andrew,
I hope this finds you well.
I want to ask that in the demo project it is reading MRT file as the dashboard and also on edit we save a new MRT file. Everytime i edit the dashboard I have a new MRT file. Let suppose if the user by mistake delete the new MRT file then his all work will be lost because the system will only read the old MRT file. I think this is a problem. what do you say?
I followed this link code https://github.com/stimulsoft/Samples-D ... MVC-CSharp
I hope this finds you well.
I want to ask that in the demo project it is reading MRT file as the dashboard and also on edit we save a new MRT file. Everytime i edit the dashboard I have a new MRT file. Let suppose if the user by mistake delete the new MRT file then his all work will be lost because the system will only read the old MRT file. I think this is a problem. what do you say?
I followed this link code https://github.com/stimulsoft/Samples-D ... MVC-CSharp
Re: Tutorial videos for Dashboards.WIN
Hello,
Yes, the system reads MRT both for reports and dashboards. If the customer delets the file then you lose your work.
Thank you.
Yes, the system reads MRT both for reports and dashboards. If the customer delets the file then you lose your work.
Thank you.