In this example, the javascript code needed to invoke the stored procedure dbo.spGetSidebarMenuData is:
attachDomReadyEventHandler(function() {
//Set Initial Options, using "CallProcedure" method.
var options = { 'URL': '../DALService.svc/CallProcedure', 'DatabaseParameters': { 'Procedure': 'dbo.spGetSidebarMenuData' }
, 'Duration': 250, 'MenuOptions':true };
//Create an Instance of TabularReport
var sm = new IndustrialSidebarMenu(document.getElementById('pSM'), options);
//Refresh Widget
sm.RefreshData();
});