I have multiple Dashboards that I want to embed into my Asp.Net MVC 5 application , the main dashboard will have a link to another dashboard in another controller, |
You can make use of the URL linking feature. Please refer the documentation on URL linking
To learn more about the customization of filter to be passed to the child dashboard please refer our documentation
To make the filterParameters API listen to the URL query please bind the location.search string to the filterParameters API of Dashboard Viewer |
I want to use one tab when I open dashboards, I don't want multiple tabs to open for each dashboard.
Is this possible to do I want it to work like a SPA one tab for all dashboards that I open |
Yes, you can hide the tabs of Multi tabbed dashboards using the API showTab. Please refer the documentation on how to hide the tabs https://help.syncfusion.com/dashboard-platform/dashboard-sdk/how-to/hide-the-dashboard-tabs-and-render-a-single-tab
You can also specify the tab that you need to render by specifying the index of the tab, or its name by using the API’s selectedTabIndex and selectedTabName. Please find the API documentation https://help.syncfusion.com/dashboard-platform/dashboard-sdk/ejdashboardviewer#members:selectedtabindex
Eg:
$("#container").ejDashboardViewer({
dashboardPath:”D:/dashboard/sample.sydx”,
serviceUrl:”http://domain.com/dashboardservice.svc”
selectedTabIndex:0
}); |
Hi I tried your solution no luck I am attaching my app please see what I am doing wrong
Thanks
Edmund Herbert
Hi Bharath,
I have not explained properly to you what my issue is I apologize and will try and explain in detail, my application when running uses multiple dashboards which are called from different controllers each time I call a new dashboard a new window tab is opened I want only one window tab to open we got confused with tabs in dashboard, I am refering to window tabs.
I hope this makes it more clear
Thanks
Edmund Herbert