Page 1 of 1
Tutorial videos for Dashboards.WIN
Posted: Tue Oct 23, 2018 2:17 pm
by Andrew
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.
Re: Tutorial videos for Dashboards.WIN
Posted: Wed Apr 03, 2019 10:25 pm
by ddsmith99301
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
Re: Tutorial videos for Dashboards.WIN
Posted: Thu Apr 04, 2019 9:46 pm
by Lech Kulikowski
Hello,
Unfortunately, there are samples for C# only:
https://github.com/stimulsoft
Thank you.
Re: Tutorial videos for Dashboards.WIN
Posted: Wed May 22, 2019 8:58 pm
by ddsmith99301
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
- 2019-05-22_1354.png (71.12 KiB) Viewed 8333 times
Re: Tutorial videos for Dashboards.WIN
Posted: Wed May 22, 2019 9:04 pm
by ddsmith99301
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();
}
Re: Tutorial videos for Dashboards.WIN
Posted: Mon May 27, 2019 8:06 am
by Lech Kulikowski
Hello,
Please check the following code:
Code: Select all
var report = StiReport.CreateNewDashboard();
report.DashboardViewerSettings = StiDashboardViewerSettings.None;
Thank you.
Re: Tutorial videos for Dashboards.WIN
Posted: Tue May 28, 2019 6:31 pm
by ddsmith99301
Thank you!
Re: Tutorial videos for Dashboards.WIN
Posted: Wed May 29, 2019 4:23 am
by Andrew
You are welcome!
Re: Tutorial videos for Dashboards.WIN
Posted: Wed Apr 22, 2020 7:55 am
by wiki9911
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
Re: Tutorial videos for Dashboards.WIN
Posted: Sun Apr 26, 2020 2:44 pm
by Andrew
Hello,
Yes, the system reads MRT both for reports and dashboards. If the customer delets the file then you lose your work.
Thank you.